diff options
author | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-11-10 02:17:42 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-10 02:17:42 +0800 |
commit | 83ffb9fafef13357232c1c12d2ff04d32be96a2e (patch) | |
tree | 9528f78e0b471d9e31a9c20e6a06fa3ceac3d40e /ui | |
parent | 8bed073f209a178d73d0a04cc72df034993b0998 (diff) | |
download | tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.tar tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.tar.gz tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.tar.bz2 tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.tar.lz tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.tar.xz tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.tar.zst tangerine-wallet-browser-83ffb9fafef13357232c1c12d2ff04d32be96a2e.zip |
Increase number of ETH decimals displayed in the balance view from 3 to 4 (#5710)
Diffstat (limited to 'ui')
-rw-r--r-- | ui/app/components/balance-component.js | 4 | ||||
-rw-r--r-- | ui/app/components/transaction-view-balance/transaction-view-balance.component.js | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/ui/app/components/balance-component.js b/ui/app/components/balance-component.js index 0f8514c81..4e2769ee8 100644 --- a/ui/app/components/balance-component.js +++ b/ui/app/components/balance-component.js @@ -86,13 +86,13 @@ BalanceComponent.prototype.renderBalance = function () { className: 'token-amount', value: balanceValue, type: PRIMARY, - ethNumberOfDecimals: 3, + ethNumberOfDecimals: 4, }), showFiat && h(UserPreferencedCurrencyDisplay, { value: balanceValue, type: SECONDARY, - ethNumberOfDecimals: 3, + ethNumberOfDecimals: 4, }), ]) } diff --git a/ui/app/components/transaction-view-balance/transaction-view-balance.component.js b/ui/app/components/transaction-view-balance/transaction-view-balance.component.js index 273845c47..402b0f486 100644 --- a/ui/app/components/transaction-view-balance/transaction-view-balance.component.js +++ b/ui/app/components/transaction-view-balance/transaction-view-balance.component.js @@ -37,13 +37,13 @@ export default class TransactionViewBalance extends PureComponent { className="transaction-view-balance__primary-balance" value={balance} type={PRIMARY} - ethNumberOfDecimals={3} + ethNumberOfDecimals={4} /> <UserPreferencedCurrencyDisplay className="transaction-view-balance__secondary-balance" value={balance} type={SECONDARY} - ethNumberOfDecimals={3} + ethNumberOfDecimals={4} /> </div> ) |