aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-03 07:52:18 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-03 07:52:18 +0800
commit9cc04be5e467ea6f41584c42cc742680163a6fe6 (patch)
tree1dfa5a964ac95efb3c85a0c5559d1413c6918e94 /ui/app/reducers
parent01e63d41ede22a7290553f888261583d22b24eda (diff)
downloadtangerine-wallet-browser-9cc04be5e467ea6f41584c42cc742680163a6fe6.tar.gz
tangerine-wallet-browser-9cc04be5e467ea6f41584c42cc742680163a6fe6.tar.zst
tangerine-wallet-browser-9cc04be5e467ea6f41584c42cc742680163a6fe6.zip
Added seed word recovery to config screen
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/app.js14
1 files changed, 13 insertions, 1 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 08c2268c1..58303f630 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -85,7 +85,7 @@ function reduceApp(state, action) {
name: 'config',
context: appState.currentView.context,
},
- transForward: true,
+ transForward: action.value,
})
case actions.SHOW_INFO_PAGE:
@@ -144,6 +144,18 @@ function reduceApp(state, action) {
warning: null,
})
+ // reveal seed words
+
+ case actions.REVEAL_SEED_CONFIRMATION:
+ return extend(appState, {
+ currentView: {
+ name: 'reveal-seed-conf',
+ },
+ transForward: true,
+ warning: null,
+ })
+
+
// accounts
case actions.SET_SELECTED_ACCOUNT: