diff options
author | Frankie <frankie.pangilinan@consensys.net> | 2016-08-19 02:06:32 +0800 |
---|---|---|
committer | Frankie <frankie.pangilinan@consensys.net> | 2016-08-19 02:06:32 +0800 |
commit | efa61f2cf892eb1383fcfacd60d906e76dbaa757 (patch) | |
tree | 4e19f1abbadc02f861f0b54027954bf9cb6b5fac /ui/app/account-detail.js | |
parent | 752d16f6c072b0dd54eb245209881a25ff06cb8e (diff) | |
parent | 90d6bec3ed51ba4b2d4696132642a4d97712dec9 (diff) | |
download | tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.tar tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.tar.gz tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.tar.bz2 tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.tar.lz tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.tar.xz tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.tar.zst tangerine-wallet-browser-efa61f2cf892eb1383fcfacd60d906e76dbaa757.zip |
Merge branch 'master' into shapeshiftTx
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r-- | ui/app/account-detail.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js index 13188e20c..261370d0a 100644 --- a/ui/app/account-detail.js +++ b/ui/app/account-detail.js @@ -9,7 +9,7 @@ const ReactCSSTransitionGroup = require('react-addons-css-transition-group') const valuesFor = require('./util').valuesFor const Identicon = require('./components/identicon') -const EtherBalance = require('./components/eth-balance') +const AccountEtherBalance = require('./components/account-eth-balance') const TransactionList = require('./components/transaction-list') const ExportAccountView = require('./components/account-export') const ethUtil = require('ethereumjs-util') @@ -20,6 +20,7 @@ module.exports = connect(mapStateToProps)(AccountDetailScreen) function mapStateToProps (state) { return { + metamask: state.metamask, identities: state.metamask.identities, accounts: state.metamask.accounts, address: state.metamask.selectedAccount, @@ -163,9 +164,8 @@ AccountDetailScreen.prototype.render = function () { }, }, [ - h(EtherBalance, { + h(AccountEtherBalance, { value: account && account.balance, - mainBalance: true, style: { lineHeight: '7px', marginTop: '10px', @@ -255,6 +255,7 @@ AccountDetailScreen.prototype.requestAccountExport = function () { this.props.dispatch(actions.requestExportAccount()) } + AccountDetailScreen.prototype.buyButtonDeligator = function () { var props = this.props |