aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ui/app/account-detail.js1
-rw-r--r--ui/app/accounts/account-list-item.js8
2 files changed, 6 insertions, 3 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index 190045c02..2c98af0dd 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -165,7 +165,6 @@ AccountDetailScreen.prototype.render = function () {
h(AccountEtherBalance, {
value: account && account.balance,
- mainBalance: true,
style: {
lineHeight: '7px',
marginTop: '10px',
diff --git a/ui/app/accounts/account-list-item.js b/ui/app/accounts/account-list-item.js
index 1010516e2..aa80e0e23 100644
--- a/ui/app/accounts/account-list-item.js
+++ b/ui/app/accounts/account-list-item.js
@@ -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',
+ },
}),
]),