mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 01:39:44 +01:00
Change account list balance rendering.
This commit is contained in:
parent
6cee99f0ba
commit
3814bf8f5d
@ -165,7 +165,6 @@ AccountDetailScreen.prototype.render = function () {
|
||||
|
||||
h(AccountEtherBalance, {
|
||||
value: account && account.balance,
|
||||
mainBalance: true,
|
||||
style: {
|
||||
lineHeight: '7px',
|
||||
marginTop: '10px',
|
||||
|
@ -3,7 +3,7 @@ const h = require('react-hyperscript')
|
||||
const inherits = require('util').inherits
|
||||
const ethUtil = require('ethereumjs-util')
|
||||
|
||||
const EtherBalance = require('../components/eth-balance')
|
||||
const AccountEtherBalance = require('../components/account-eth-balance')
|
||||
const CopyButton = require('../components/copyButton')
|
||||
const Identicon = require('../components/identicon')
|
||||
|
||||
@ -50,8 +50,12 @@ NewComponent.prototype.render = function () {
|
||||
textOverflow: 'ellipsis',
|
||||
},
|
||||
}, ethUtil.toChecksumAddress(identity.address)),
|
||||
h(EtherBalance, {
|
||||
h(AccountEtherBalance, {
|
||||
value: account.balance,
|
||||
style: {
|
||||
lineHeight: '7px',
|
||||
marginTop: '10px',
|
||||
},
|
||||
}),
|
||||
]),
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user