1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 01:39:44 +01:00

Cosmetic changes, rename links.

This commit is contained in:
Kevin Serrano 2016-11-23 15:42:17 -08:00
parent 3a503d2ac2
commit 8dd298238d
No known key found for this signature in database
GPG Key ID: 7CC862A58D2889B4

View File

@ -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,17 +118,6 @@ InitializeMenuScreen.prototype.renderMenu = function (state) {
}, },
}, 'Create'), }, 'Create'),
h('.flex-row.flex-center.flex-grow', [
h('p.pointer', {
onClick: this.showRestoreVault.bind(this),
style: {
fontSize: '0.8em',
color: 'rgb(247, 134, 28)',
textDecoration: 'underline',
},
}, 'I already have a DEN that I would like to import'),
]),
state.forgottenPassword ? h('.flex-row.flex-center.flex-grow', [ state.forgottenPassword ? h('.flex-row.flex-center.flex-grow', [
h('p.pointer', { h('p.pointer', {
onClick: this.backToUnlockView.bind(this), onClick: this.backToUnlockView.bind(this),
@ -137,9 +126,20 @@ InitializeMenuScreen.prototype.renderMenu = function (state) {
color: 'rgb(247, 134, 28)', color: 'rgb(247, 134, 28)',
textDecoration: 'underline', textDecoration: 'underline',
}, },
}, 'I remember my password!'), }, 'Return to Login'),
]) : null, ]) : null,
h('.flex-row.flex-center.flex-grow', [
h('p.pointer', {
onClick: this.showRestoreVault.bind(this),
style: {
fontSize: '0.8em',
color: 'rgb(247, 134, 28)',
textDecoration: 'underline',
},
}, 'Import Existing DEN'),
]),
]) ])
) )
} }