mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-22 18:00:18 +01:00
Increase number of ETH decimals displayed in the balance view from 3 to 4 (#5710)
This commit is contained in:
parent
8bed073f20
commit
83ffb9fafe
@ -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,
|
||||
}),
|
||||
])
|
||||
}
|
||||
|
@ -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>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user