diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-02-08 08:38:55 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-08 08:38:55 +0800 |
commit | 7f151b861cc3a565d3feefc50b3be25ab4490ac8 (patch) | |
tree | 4b0ec57e7fb316ff835748e0cabda8c2012b6345 /ui/app/keychains | |
parent | 9db0a32dac81ad071f3c15651ce5fb830d2ddf4a (diff) | |
download | tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.gz tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.bz2 tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.lz tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.xz tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.tar.zst tangerine-wallet-browser-7f151b861cc3a565d3feefc50b3be25ab4490ac8.zip |
[NewUI] Opens to full screen when restoring from seed. (#3201)
* Opens to full screen when restoring from seed.
* Remove redundant parameter in actions.markPasswordForgotten call.
Diffstat (limited to 'ui/app/keychains')
-rw-r--r-- | ui/app/keychains/hd/restore-vault.js | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/app/keychains/hd/restore-vault.js b/ui/app/keychains/hd/restore-vault.js index 24b37a83d..a4ed137f9 100644 --- a/ui/app/keychains/hd/restore-vault.js +++ b/ui/app/keychains/hd/restore-vault.js @@ -107,6 +107,7 @@ RestoreVaultScreen.prototype.render = function () { } RestoreVaultScreen.prototype.showInitializeMenu = function () { + this.props.dispatch(actions.unMarkPasswordForgotten()) if (this.props.forgottenPassword) { this.props.dispatch(actions.backToUnlockView()) } else { @@ -149,6 +150,9 @@ RestoreVaultScreen.prototype.createNewVaultAndRestore = function () { this.warning = null this.props.dispatch(actions.displayWarning(this.warning)) this.props.dispatch(actions.createNewVaultAndRestore(password, seed)) + .then(() => { + this.props.dispatch(actions.unMarkPasswordForgotten()) + }) .catch((err) => { log.error(err.message) }) |