mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-30 00:52:42 +03:00
Merge pull request #1100 from esteemapp/bugfix/transaction
Fixed wrong text data for transactions
This commit is contained in:
commit
04730478c0
@ -78,7 +78,7 @@ class TransactionView extends PureComponent {
|
|||||||
isBlackText
|
isBlackText
|
||||||
iconName={transactionData.icon}
|
iconName={transactionData.icon}
|
||||||
iconType="MaterialIcons"
|
iconType="MaterialIcons"
|
||||||
rightText={`${Math.round(value[0] * 1000) / 1000} ${value[1]}`}
|
rightText={transactionData.value.trim()}
|
||||||
/>
|
/>
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
|
@ -51,7 +51,7 @@ export const groomingTransactionData = (transaction, steemPerMVests, formatNumbe
|
|||||||
}).replace(',', '.');
|
}).replace(',', '.');
|
||||||
|
|
||||||
result.value = `${sbdPayout > 0 ? `${sbdPayout} SBD` : ''} ${
|
result.value = `${sbdPayout > 0 ? `${sbdPayout} SBD` : ''} ${
|
||||||
steemPayout > 0 ? `${steemPayout} steemPayout` : ''
|
steemPayout > 0 ? `${steemPayout} STEEM` : ''
|
||||||
} ${vestingPayout > 0 ? `${vestingPayout} SP` : ''}`;
|
} ${vestingPayout > 0 ? `${vestingPayout} SP` : ''}`;
|
||||||
|
|
||||||
result.details = author && permlink ? `@${author}/${permlink}` : null;
|
result.details = author && permlink ? `@${author}/${permlink}` : null;
|
||||||
|
Loading…
Reference in New Issue
Block a user