diff options
author | Kevin Serrano <kevgagser@gmail.com> | 2016-08-11 01:54:55 +0800 |
---|---|---|
committer | Kevin Serrano <kevgagser@gmail.com> | 2016-08-11 01:54:55 +0800 |
commit | abfc5632efcc72b3ad45ec1df8bf5889f75a8472 (patch) | |
tree | fad9d6d6c77ead0dfd2de303cda9d9c4cb336f40 /ui/app/reducers/metamask.js | |
parent | 106cbc133f26606449746587d4a33a3b8fb3f727 (diff) | |
download | tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.tar tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.tar.gz tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.tar.bz2 tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.tar.lz tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.tar.xz tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.tar.zst tangerine-wallet-browser-abfc5632efcc72b3ad45ec1df8bf5889f75a8472.zip |
Fix ether warning checkbox.
Diffstat (limited to 'ui/app/reducers/metamask.js')
-rw-r--r-- | ui/app/reducers/metamask.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js index 8d4520fb1..4eef20f56 100644 --- a/ui/app/reducers/metamask.js +++ b/ui/app/reducers/metamask.js @@ -10,6 +10,7 @@ function reduceMetamask (state, action) { var metamaskState = extend({ isInitialized: false, isUnlocked: false, + isEthConfirmed: false, currentDomain: 'example.com', rpcTarget: 'https://rawtestrpc.metamask.io/', identities: {}, @@ -33,7 +34,7 @@ function reduceMetamask (state, action) { case actions.AGREE_TO_ETH_WARNING: return extend(metamaskState, { - isEthConfirmed: true, + isEthConfirmed: !metamaskState.isEthConfirmed, }) case actions.UNLOCK_METAMASK: |