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:
parent
3a503d2ac2
commit
8dd298238d
@ -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,17 +118,6 @@ InitializeMenuScreen.prototype.renderMenu = function (state) {
|
||||
},
|
||||
}, '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', [
|
||||
h('p.pointer', {
|
||||
onClick: this.backToUnlockView.bind(this),
|
||||
@ -137,9 +126,20 @@ InitializeMenuScreen.prototype.renderMenu = function (state) {
|
||||
color: 'rgb(247, 134, 28)',
|
||||
textDecoration: 'underline',
|
||||
},
|
||||
}, 'I remember my password!'),
|
||||
}, 'Return to Login'),
|
||||
]) : 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'),
|
||||
]),
|
||||
|
||||
])
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user