Merge pull request #176 from MetaMask/RestoreAccountDetailBackButton

Put accounts view back on account "back" button?
feature/default_network_editable
Dan Finlay 9 years ago
commit e0a91c6fc9
  1. 1
      CHANGELOG.md
  2. 7
      ui/app/account-detail.js

@ -6,6 +6,7 @@
- Moved account exporting within transitioning subview on the account detail view. - Moved account exporting within transitioning subview on the account detail view.
- Added buttons to the account export process. - Added buttons to the account export process.
- Improved visual appearance of account detail transition where button heights would change. - Improved visual appearance of account detail transition where button heights would change.
- Restored back button to account detail view.
## 1.7.0 2016-04-29 ## 1.7.0 2016-04-29

@ -47,6 +47,9 @@ AccountDetailScreen.prototype.render = function() {
// subtitle and nav // subtitle and nav
h('.section-title.flex-row.flex-center', [ h('.section-title.flex-row.flex-center', [
h('i.fa.fa-arrow-left.fa-lg.cursor-pointer', {
onClick: this.navigateToAccounts.bind(this),
}),
h('h2.page-subtitle', 'Account Detail'), h('h2.page-subtitle', 'Account Detail'),
]), ]),
@ -63,10 +66,6 @@ AccountDetailScreen.prototype.render = function() {
} }
}, [ }, [
h('button', {
onClick: this.navigateToAccounts.bind(this),
}, 'CHANGE ACCT'),
h('button', { h('button', {
onClick: () => { onClick: () => {
copyToClipboard(identity.address) copyToClipboard(identity.address)

Loading…
Cancel
Save