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

Merge pull request #2840 from oosthuizenr/master

UI - Never show seed phrase if locked
This commit is contained in:
kumavis 2018-01-02 13:36:51 -08:00 committed by GitHub
commit e572768cb1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -460,11 +460,6 @@ App.prototype.renderPrimary = function () {
})
}
if (props.seedWords) {
log.debug('rendering seed words')
return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'})
}
// show initialize screen
if (!props.isInitialized || props.forgottenPassword) {
// show current view
@ -499,6 +494,12 @@ App.prototype.renderPrimary = function () {
}
}
// show seed words screen
if (props.seedWords) {
log.debug('rendering seed words')
return h(HDCreateVaultComplete, {key: 'HDCreateVaultComplete'})
}
// show current view
switch (props.currentView.name) {