Change account list balance rendering.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 6cee99f0ba
commit 3814bf8f5d
  1. 1
      ui/app/account-detail.js
  2. 8
      ui/app/accounts/account-list-item.js

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