diff --git a/BlueComponents.js b/BlueComponents.js index 09f8340be..4226ca1e9 100644 --- a/BlueComponents.js +++ b/BlueComponents.js @@ -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 }) : ''; diff --git a/loc/en.json b/loc/en.json index a31b978bc..a12f7d16f 100644 --- a/loc/en.json +++ b/loc/en.json @@ -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)",