mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2025-02-23 07:15:35 +01:00
FIX: When wallet card has balance but no txs it displays 'pull to refresh' (closes #1269)
This commit is contained in:
parent
1b465c06a9
commit
e9e9a2a3cf
2 changed files with 4 additions and 1 deletions
|
@ -237,7 +237,9 @@ const WalletCarouselItem = ({ item, index, onPress, handleLongPress, isSelectedW
|
|||
{loc.wallets.list_latest_transaction}
|
||||
</Text>
|
||||
<Text numberOfLines={1} style={[iStyles.latestTxTime, { color: colors.inverseForegroundColor }]}>
|
||||
{transactionTimeToReadable(item.getLatestTransactionTime())}
|
||||
{item.getBalance() !== 0 && item.getLatestTransactionTime() === 0
|
||||
? loc.wallets.pull_to_refresh
|
||||
: transactionTimeToReadable(item.getLatestTransactionTime())}
|
||||
</Text>
|
||||
</LinearGradient>
|
||||
</TouchableWithoutFeedback>
|
||||
|
|
|
@ -400,6 +400,7 @@
|
|||
"select_wallet": "Select Wallet",
|
||||
"take_photo": "Take Photo",
|
||||
"xpub_copiedToClipboard": "Copied to clipboard.",
|
||||
"pull_to_refresh": "pull to refresh",
|
||||
"xpub_title": "wallet XPUB"
|
||||
},
|
||||
"multisig": {
|
||||
|
|
Loading…
Add table
Reference in a new issue