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

feature/default_network_editable
Alexander Tseung 6 years ago committed by GitHub
parent 8bed073f20
commit 83ffb9fafe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      ui/app/components/balance-component.js
  2. 4
      ui/app/components/transaction-view-balance/transaction-view-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,
}),
])
}

@ -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…
Cancel
Save