diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-11-24 07:42:17 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-11-24 07:42:17 +0800 |
commit | 8dd298238de5de6b8c84bbefadd6db5c8af1adc6 (patch) | |
tree | c25a67580a0cc0d68922fe390fecbe3a69558881 /ui/app/first-time | |
parent | 3a503d2ac21ebb0d49e718527e7bcaddc6d6f322 (diff) | |
download | tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.tar tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.tar.gz tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.tar.bz2 tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.tar.lz tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.tar.xz tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.tar.zst tangerine-wallet-browser-8dd298238de5de6b8c84bbefadd6db5c8af1adc6.zip |
Cosmetic changes, rename links.
Diffstat (limited to 'ui/app/first-time')
-rw-r--r-- | ui/app/first-time/init-menu.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/ui/app/first-time/init-menu.js b/ui/app/first-time/init-menu.js index f9fb77aa5..c41aecc48 100644 --- a/ui/app/first-time/init-menu.js +++ b/ui/app/first-time/init-menu.js @@ -21,7 +21,7 @@ function mapStateToProps (state) { // state from plugin currentView: state.appState.currentView, warning: state.appState.warning, - forgottenPassword: state.appState.forgottenPassword, + forgottenPassword: state.metamask.isInitialized, } } @@ -118,27 +118,27 @@ InitializeMenuScreen.prototype.renderMenu = function (state) { }, }, 'Create'), - h('.flex-row.flex-center.flex-grow', [ + state.forgottenPassword ? h('.flex-row.flex-center.flex-grow', [ h('p.pointer', { - onClick: this.showRestoreVault.bind(this), + onClick: this.backToUnlockView.bind(this), style: { fontSize: '0.8em', color: 'rgb(247, 134, 28)', textDecoration: 'underline', }, - }, 'I already have a DEN that I would like to import'), - ]), + }, 'Return to Login'), + ]) : null, - state.forgottenPassword ? h('.flex-row.flex-center.flex-grow', [ + h('.flex-row.flex-center.flex-grow', [ h('p.pointer', { - onClick: this.backToUnlockView.bind(this), + onClick: this.showRestoreVault.bind(this), style: { fontSize: '0.8em', color: 'rgb(247, 134, 28)', textDecoration: 'underline', }, - }, 'I remember my password!'), - ]) : null, + }, 'Import Existing DEN'), + ]), ]) ) |