mirror of
https://github.com/BlueWallet/BlueWallet.git
synced 2024-11-20 10:12:01 +01:00
Merge pull request #2114 from BlueWallet/Track-time-first-seen-of-unconfirmed-transactions-#1699-
FIX: Track time first seen of unconfirmed transactions #1699
This commit is contained in:
commit
fbf180b7af
@ -1646,7 +1646,13 @@ export const BlueTransactionListItem = React.memo(({ item, itemPriceUnit = Bitco
|
||||
[colors.lightBorder],
|
||||
);
|
||||
|
||||
const title = useMemo(() => transactionTimeToReadable(item.received), [item.received]);
|
||||
const title = useMemo(() => {
|
||||
if (item.confirmations === 0) {
|
||||
return loc.transactions.pending;
|
||||
} else {
|
||||
return transactionTimeToReadable(item.received);
|
||||
}
|
||||
}, [item.confirmations, item.received]);
|
||||
const txMemo = txMetadata[item.hash]?.memo ?? '';
|
||||
const subtitle = useMemo(() => {
|
||||
let sub = item.confirmations < 7 ? loc.formatString(loc.transactions.list_conf, { number: item.confirmations }) : '';
|
||||
|
@ -310,8 +310,9 @@
|
||||
"details_title": "Transaction",
|
||||
"details_to": "Output",
|
||||
"details_transaction_details": "Transaction details",
|
||||
"enable_hw": "This wallet is not being used in conjunction with a hardwarde wallet. Would you like to enable hardware wallet use?",
|
||||
"enable_hw": "This wallet is not being used in conjunction with a hardware wallet. Would you like to enable hardware wallet use?",
|
||||
"list_conf": "conf: {number}",
|
||||
"pending": "Pending",
|
||||
"list_title": "transactions",
|
||||
"rbf_explain": "We will replace this transaction with the one with a higher fee, so it should be mined faster. This is called RBF - Replace By Fee.",
|
||||
"rbf_title": "Bump fee (RBF)",
|
||||
|
Loading…
Reference in New Issue
Block a user