This commit is contained in:
Mustafa Buyukcelebi 2019-01-25 15:31:28 +03:00
parent 0200315189
commit 73c29fe391

View File

@ -54,7 +54,7 @@ class TransactionView extends PureComponent {
{transactions {transactions
&& transactions.map((item, index) => { && transactions.map((item, index) => {
const transactionData = groomingTransactionData(item, walletData, formatNumber); const transactionData = groomingTransactionData(item, walletData, formatNumber);
const value = transactionData.value.split(' ');
return ( return (
<CollapsibleCard <CollapsibleCard
noBorder noBorder
@ -75,9 +75,9 @@ class TransactionView extends PureComponent {
isBlackText isBlackText
iconName={transactionData.icon} iconName={transactionData.icon}
iconType="MaterialIcons" iconType="MaterialIcons"
rightText={transactionData.value} rightText={`${Math.round(value[0] * 1000) / 1000} ${value[1]}`}
/> />
)} )}
> >
{(!!transactionData.details || !!transactionData.memo) && ( {(!!transactionData.details || !!transactionData.memo) && (
<WalletLineItem <WalletLineItem