diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-12-20 07:46:09 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-12-20 07:46:09 +0800 |
commit | 9c8345467c871b29193263a13e8e8d3ebb47c7fb (patch) | |
tree | 0877916db7258af29ea948607bab79648ed1e4c6 /ui/app/reducers | |
parent | 92ddcba76bbfdddc440298e70cbff2229495aee5 (diff) | |
download | tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.tar tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.tar.gz tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.tar.bz2 tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.tar.lz tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.tar.xz tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.tar.zst tangerine-wallet-browser-9c8345467c871b29193263a13e8e8d3ebb47c7fb.zip |
Modify actions to support better transition.
Diffstat (limited to 'ui/app/reducers')
-rw-r--r-- | ui/app/reducers/app.js | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js index c69f0bae0..fb6767233 100644 --- a/ui/app/reducers/app.js +++ b/ui/app/reducers/app.js @@ -75,6 +75,15 @@ function reduceApp (state, action) { forgottenPassword: true, }) + case actions.FORGOT_PASSWORD: + return extend(appState, { + currentView: { + name: 'restoreVault', + }, + transForward: false, + forgottenPassword: true, + }) + case actions.SHOW_INIT_MENU: return extend(appState, { currentView: defaultView, |