1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 19:26:13 +02:00

Increase number of ETH decimals displayed in the balance view from 3 to 4 (#5710)

This commit is contained in:
Alexander Tseung 2018-11-09 10:17:42 -08:00 committed by GitHub
parent 8bed073f20
commit 83ffb9fafe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -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,
}),
])
}

View File

@ -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>
)