Skip to content

Commit

Permalink
176 hide tx history also shows no txs yet (#197)
Browse files Browse the repository at this point in the history
* Fixes #176

* update text for hidden txs in dashboard
  • Loading branch information
KKA11010 committed Sep 11, 2023
1 parent 7ccd4b0 commit 6f862c7
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion assets/translations/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
"enutsPub": "eNuts: ",
"seeFullHistory": "Gesamter Transaktionsverlauf",
"hideLatestTxs": "Aktuellste Transaktionen verbergen",
"hiddenTxs": "Transaktionen verborgen",
"hiddenTxs": "Transaktionsverlauf",
"next": "Weiter",
"skip": "Überspringen",
"donateLn": "Spenden über Lightning",
Expand Down
2 changes: 1 addition & 1 deletion assets/translations/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@
"enutsPub": "eNuts public key: ",
"seeFullHistory": "See full transaction history",
"hideLatestTxs": "Hide your latest transactions",
"hiddenTxs": "Latest transactions hidden",
"hiddenTxs": "Transaction history",
"next": "Next",
"skip": "Skip",
"donateLn": "Donate via Lightning",
Expand Down
4 changes: 2 additions & 2 deletions assets/translations/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,8 +207,8 @@
"emptyMint": "Mint ne dispose pas de fonds.",
"zapSoon": "Les zaps seront bientôt ajoutés...",
"enutsPub": "eNuts clé public: ",
"seeFullHistory": "Gesamter Transaktionsverlauf",
"hiddenTxs": "Dernières transactions masquées",
"seeFullHistory": "Historique des transactions",
"hiddenTxs": "Historique des transactions",
"next": "Suivant",
"skip": "Sauter",
"donateLn": "Faire un don via Lightning",
Expand Down
2 changes: 1 addition & 1 deletion src/components/Balance.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ export default function Balance({ balance, nav }: IBalanceProps) {
}
<Separator style={[styles.separator]} />
{/* No transactions yet */}
{!history.length &&
{!history.length && !hidden.txs &&
<View style={{ padding: 10 }}>
<Txt txt={t('noTX')} styles={[globals(color).pressTxt, { color: mainColors.WHITE }]} />
</View>
Expand Down

0 comments on commit 6f862c7

Please sign in to comment.