Cosmetic changes, rename links.

feature/default_network_editable
Kevin Serrano 8 years ago
parent 3a503d2ac2
commit 8dd298238d
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4
  1. 18
      ui/app/first-time/init-menu.js

@ -21,7 +21,7 @@ function mapStateToProps (state) {
// state from plugin // state from plugin
currentView: state.appState.currentView, currentView: state.appState.currentView,
warning: state.appState.warning, warning: state.appState.warning,
forgottenPassword: state.appState.forgottenPassword, forgottenPassword: state.metamask.isInitialized,
} }
} }
@ -118,27 +118,27 @@ InitializeMenuScreen.prototype.renderMenu = function (state) {
}, },
}, 'Create'), }, 'Create'),
h('.flex-row.flex-center.flex-grow', [ state.forgottenPassword ? h('.flex-row.flex-center.flex-grow', [
h('p.pointer', { h('p.pointer', {
onClick: this.showRestoreVault.bind(this), onClick: this.backToUnlockView.bind(this),
style: { style: {
fontSize: '0.8em', fontSize: '0.8em',
color: 'rgb(247, 134, 28)', color: 'rgb(247, 134, 28)',
textDecoration: 'underline', 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', { h('p.pointer', {
onClick: this.backToUnlockView.bind(this), onClick: this.showRestoreVault.bind(this),
style: { style: {
fontSize: '0.8em', fontSize: '0.8em',
color: 'rgb(247, 134, 28)', color: 'rgb(247, 134, 28)',
textDecoration: 'underline', textDecoration: 'underline',
}, },
}, 'I remember my password!'), }, 'Import Existing DEN'),
]) : null, ]),
]) ])
) )

Loading…
Cancel
Save