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 /app/scripts/lib | |
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 'app/scripts/lib')
-rw-r--r-- | app/scripts/lib/config-manager.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/app/scripts/lib/config-manager.js b/app/scripts/lib/config-manager.js index 9c0dffe9c..34b603b96 100644 --- a/app/scripts/lib/config-manager.js +++ b/app/scripts/lib/config-manager.js @@ -42,6 +42,17 @@ ConfigManager.prototype.getData = function () { return this.store.getState() } +ConfigManager.prototype.setPasswordForgotten = function (passwordForgottenState) { + const data = this.getData() + data.forgottenPassword = passwordForgottenState + this.setData(data) +} + +ConfigManager.prototype.getPasswordForgotten = function (passwordForgottenState) { + const data = this.getData() + return data.forgottenPassword +} + ConfigManager.prototype.setWallet = function (wallet) { var data = this.getData() data.wallet = wallet |