aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers/metamask.js
diff options
context:
space:
mode:
authorDan Finlay <dan@danfinlay.com>2016-06-17 07:41:57 +0800
committerDan Finlay <dan@danfinlay.com>2016-06-17 07:41:57 +0800
commit08ecbcf242073ca61e535648ac3d6ff3133f49d1 (patch)
tree52cb8f2f153b72f5d9ba701fa15aaf75fef23487 /ui/app/reducers/metamask.js
parente8ef8f3d2d0f6bf0fd014faa7b62457fb88f90d1 (diff)
downloadtangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.tar
tangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.tar.gz
tangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.tar.bz2
tangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.tar.lz
tangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.tar.xz
tangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.tar.zst
tangerine-wallet-browser-08ecbcf242073ca61e535648ac3d6ff3133f49d1.zip
Create disclaimer approval reducer
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r--ui/app/reducers/metamask.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index a45327189..646100120 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -25,6 +25,11 @@ function reduceMetamask(state, action) {
case actions.UPDATE_METAMASK_STATE:
return extend(metamaskState, action.value)
+ case actions.AGREE_TO_DISCLAIMER:
+ return extend(metamaskState, {
+ isConfirmed: true,
+ })
+
case actions.UNLOCK_METAMASK:
return extend(metamaskState, {
isUnlocked: true,