aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2018-03-14 02:00:52 +0800
committerGitHub <noreply@github.com>2018-03-14 02:00:52 +0800
commit1d2cb46eff10023056a36f815e70ae2aec5a7a7d (patch)
tree7ce94489dbd6c30e8f53ddf06dda1b898b95a583 /ui/app/reducers/metamask.js
parentb45ea44aa5eb35c5092d78bc888e884af70db7cb (diff)
parent6a17a0cdf1bb3a13b5354606f1cfdac40659689a (diff)
downloadtangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.tar
tangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.tar.gz
tangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.tar.bz2
tangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.tar.lz
tangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.tar.xz
tangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.tar.zst
tangerine-wallet-browser-1d2cb46eff10023056a36f815e70ae2aec5a7a7d.zip
Merge branch 'master' into i18n
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 029d830ec..4ca7d221e 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) {
@@ -347,6 +348,11 @@ function reduceMetamask (state, action) {
networkEndpointType: action.value,
})
+ case actions.CLOSE_WELCOME_SCREEN:
+ return extend(metamaskState, {
+ welcomeScreenSeen: true,
+ })
+
default:
return metamaskState