aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-08-17 05:13:03 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-08-17 05:13:03 +0800
commit3814bf8f5d75cd58243d2e9edd425a4ad085b876 (patch)
treead3e5dcc63c6b4dc13d2e29274ebed663011c43b /ui/app
parent6cee99f0baedf686071cb9c621dab70ad54688fc (diff)
downloadtangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.tar
tangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.tar.gz
tangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.tar.bz2
tangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.tar.lz
tangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.tar.xz
tangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.tar.zst
tangerine-wallet-browser-3814bf8f5d75cd58243d2e9edd425a4ad085b876.zip
Change account list balance rendering.
Diffstat (limited to 'ui/app')
-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',
+ },
}),
]),