aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2018-03-09 01:31:21 +0800
committerDan <danjm.com@gmail.com>2018-03-09 01:51:54 +0800
commit91c890041c685db8ff7f7ac87009225fa31b3042 (patch)
tree7172c36f2a0e118ac07718f9d85f53f60c84f717 /ui/app/reducers/metamask.js
parentb8dec6827127ebd5a1fba19a389a361ebc3a9a4d (diff)
downloadtangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.tar
tangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.tar.gz
tangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.tar.bz2
tangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.tar.lz
tangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.tar.xz
tangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.tar.zst
tangerine-wallet-browser-91c890041c685db8ff7f7ac87009225fa31b3042.zip
Add welcome screen to new-ui browser first time flow.
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r--ui/app/reducers/metamask.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index cddcd0c1f..246d8839b 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -44,6 +44,7 @@ function reduceMetamask (state, action) {
featureFlags: {},
networkEndpointType: OLD_UI_NETWORK_TYPE,
isRevealingSeedWords: false,
+ welcomeScreenSeen: false,
}, state.metamask)
switch (action.type) {
@@ -349,6 +350,11 @@ function reduceMetamask (state, action) {
networkEndpointType: action.value,
})
+ case actions.CLOSE_WELCOME_SCREEN:
+ return extend(metamaskState, {
+ welcomeScreenSeen: true,
+ })
+
default:
return metamaskState