aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/account-detail.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-24 05:39:50 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-24 05:39:50 +0800
commit4ebb9f631e9a1487a58ccd2f1ff6776eb9a73466 (patch)
tree6590990c5839e606a9b322d35f5618004a0b3deb /ui/app/account-detail.js
parent216e7235dd590bffacb0778e387030e9bd0d90bc (diff)
downloadtangerine-wallet-browser-4ebb9f631e9a1487a58ccd2f1ff6776eb9a73466.tar.gz
tangerine-wallet-browser-4ebb9f631e9a1487a58ccd2f1ff6776eb9a73466.tar.zst
tangerine-wallet-browser-4ebb9f631e9a1487a58ccd2f1ff6776eb9a73466.zip
Moved account change button to menu bar
Diffstat (limited to 'ui/app/account-detail.js')
-rw-r--r--ui/app/account-detail.js21
1 files changed, 1 insertions, 20 deletions
diff --git a/ui/app/account-detail.js b/ui/app/account-detail.js
index f0d359106..276824459 100644
--- a/ui/app/account-detail.js
+++ b/ui/app/account-detail.js
@@ -53,20 +53,12 @@ AccountDetailScreen.prototype.render = function () {
}, [
// header - identicon + nav
- h('.flex-row.flex-space-between', {
+ h('.flex-row.flex-center', {
style: {
marginTop: 28,
},
}, [
- // invisible placeholder for later
- h('i.fa.fa-users.fa-lg.color-orange', {
- style: {
- width: '30px',
- visibility: 'hidden',
- },
- }),
-
// large identicon
h('.identicon-wrapper.flex-column.flex-center.select-none', [
h(Identicon, {
@@ -74,12 +66,6 @@ AccountDetailScreen.prototype.render = function () {
address: selected,
}),
]),
-
- // small accounts nav
- h('img.cursor-pointer.color-orange', {
- src: 'images/switch_acc.svg',
- onClick: this.navigateToAccounts.bind(this),
- }),
]),
h('.flex-center', {
@@ -218,11 +204,6 @@ AccountDetailScreen.prototype.transactionList = function () {
})
}
-AccountDetailScreen.prototype.navigateToAccounts = function (event) {
- event.stopPropagation()
- this.props.dispatch(actions.showAccountsPage())
-}
-
AccountDetailScreen.prototype.requestAccountExport = function () {
this.props.dispatch(actions.requestExportAccount())
}