diff --git a/ui/component/txoList/view.jsx b/ui/component/txoList/view.jsx index 8e32ee6e7..6a57c3a18 100644 --- a/ui/component/txoList/view.jsx +++ b/ui/component/txoList/view.jsx @@ -342,7 +342,7 @@ function TxoList(props: Props) { className={classnames(`button-toggle`, { 'button-toggle--active': currency === 'fiat', })} - label={__('USD --[transactions tab]--')} + label={__('Currency --[transactions tab]--')} /> diff --git a/ui/component/walletFiatAccountHistory/view.jsx b/ui/component/walletFiatAccountHistory/view.jsx index 4e2b1b39f..317e8a14f 100644 --- a/ui/component/walletFiatAccountHistory/view.jsx +++ b/ui/component/walletFiatAccountHistory/view.jsx @@ -24,6 +24,22 @@ const WalletBalance = (props: Props) => { // accountTransactions.length = 10; // } + function getSymbol(transaction) { + if (transaction.currency === 'eur') { + return '€'; + } else { + return '$'; + } + } + + function getCurrencyIso(transaction) { + if (transaction.currency === 'eur') { + return 'EUR'; + } else { + return 'USD'; + } + } + return (
@@ -32,7 +48,7 @@ const WalletBalance = (props: Props) => { - + @@ -63,10 +79,22 @@ const WalletBalance = (props: Props) => { button="link" /> - - - - + + + + ))}
{__('Date')} {<>{__('Receiving Channel Name')}} {__('Tip Location')}{__('Amount (USD)')} {__('Amount')} {__('Processing Fee')} {__('Odysee Fee')} {__('Received Amount')}${transaction.tipped_amount / 100}${transaction.transaction_fee / 100}${transaction.application_fee / 100}${transaction.received_amount / 100} + {getSymbol(transaction)} + {transaction.tipped_amount / 100} {getCurrencyIso(transaction)} + + {getSymbol(transaction)} + {transaction.transaction_fee / 100} + + {getSymbol(transaction)} + {transaction.application_fee / 100} + + {getSymbol(transaction)} + {transaction.received_amount / 100} +