mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-12-23 09:52:26 +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, {
|
h(AccountEtherBalance, {
|
||||||
value: account && account.balance,
|
value: account && account.balance,
|
||||||
mainBalance: true,
|
|
||||||
style: {
|
style: {
|
||||||
lineHeight: '7px',
|
lineHeight: '7px',
|
||||||
marginTop: '10px',
|
marginTop: '10px',
|
||||||
|
@ -3,7 +3,7 @@ const h = require('react-hyperscript')
|
|||||||
const inherits = require('util').inherits
|
const inherits = require('util').inherits
|
||||||
const ethUtil = require('ethereumjs-util')
|
const ethUtil = require('ethereumjs-util')
|
||||||
|
|
||||||
const EtherBalance = require('../components/eth-balance')
|
const AccountEtherBalance = require('../components/account-eth-balance')
|
||||||
const CopyButton = require('../components/copyButton')
|
const CopyButton = require('../components/copyButton')
|
||||||
const Identicon = require('../components/identicon')
|
const Identicon = require('../components/identicon')
|
||||||
|
|
||||||
@ -50,8 +50,12 @@ NewComponent.prototype.render = function () {
|
|||||||
textOverflow: 'ellipsis',
|
textOverflow: 'ellipsis',
|
||||||
},
|
},
|
||||||
}, ethUtil.toChecksumAddress(identity.address)),
|
}, ethUtil.toChecksumAddress(identity.address)),
|
||||||
h(EtherBalance, {
|
h(AccountEtherBalance, {
|
||||||
value: account.balance,
|
value: account.balance,
|
||||||
|
style: {
|
||||||
|
lineHeight: '7px',
|
||||||
|
marginTop: '10px',
|
||||||
|
},
|
||||||
}),
|
}),
|
||||||
]),
|
]),
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user