Skip to content

Commit

Permalink
Merge pull request #2531 from BlueWallet/fix-2201
Browse files Browse the repository at this point in the history
FIX: 'Few seconds ago' -> 'pending'
  • Loading branch information
GladosBlueWallet committed Jan 25, 2021
2 parents 9de0bc5 + 97032e7 commit 2448a15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions components/WalletsCarousel.js
Expand Up @@ -241,6 +241,8 @@ const WalletCarouselItem = ({ item, index, onPress, handleLongPress, isSelectedW
<Text numberOfLines={1} style={[iStyles.latestTxTime, { color: colors.inverseForegroundColor }]}>
{item.getBalance() !== 0 && item.getLatestTransactionTime() === 0
? loc.wallets.pull_to_refresh
: item.getTransactions().find(tx => tx.confirmations === 0)
? loc.transactions.pending.toLowerCase()
: transactionTimeToReadable(item.getLatestTransactionTime())}
</Text>
</LinearGradient>
Expand Down
4 changes: 3 additions & 1 deletion screen/wallets/reorderWallets.js
Expand Up @@ -149,7 +149,9 @@ const ReorderWallets = () => {
{loc.wallets.list_latest_transaction}
</Text>
<Text numberOfLines={1} style={styles.latestTxValue}>
{transactionTimeToReadable(item.getLatestTransactionTime())}
{item.getTransactions().find(tx => tx.confirmations === 0)
? loc.transactions.pending.toLowerCase()
: transactionTimeToReadable(item.getLatestTransactionTime())}
</Text>
</LinearGradient>
</View>
Expand Down

0 comments on commit 2448a15

Please sign in to comment.