1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-10-22 03:12:42 +02:00

Restored back button to account detail view.

The `Change Acct` button was confusing multiple users, reverted that bit.
This commit is contained in:
Dan Finlay 2016-05-05 12:14:51 -07:00
parent 895fa023d1
commit f92189a721
2 changed files with 6 additions and 4 deletions

View File

@ -6,6 +6,7 @@
- Moved account exporting within transitioning subview on the account detail view.
- Added buttons to the account export process.
- 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

View File

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