aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-10-26 04:24:03 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-10-26 04:24:03 +0800
commit678301a20e6112d79a052c13f921bb75c451c613 (patch)
tree735a7e4cd5dc92aa3f574144660231728d9c74f2 /ui/app/reducers
parent16e2f029d8b76e6f1e951d35307d955c2346cd8d (diff)
downloadtangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.gz
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.tar.zst
tangerine-wallet-browser-678301a20e6112d79a052c13f921bb75c451c613.zip
Phase out extra warning screen.
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/app.js5
-rw-r--r--ui/app/reducers/metamask.js6
2 files changed, 1 insertions, 10 deletions
diff --git a/ui/app/reducers/app.js b/ui/app/reducers/app.js
index 5b3f44d68..d34cd1c2a 100644
--- a/ui/app/reducers/app.js
+++ b/ui/app/reducers/app.js
@@ -29,13 +29,10 @@ function reduceApp (state, action) {
name: 'createVaultComplete',
seedWords,
}
- var ethStoreWarning = {
- name: 'EthStoreWarning',
- }
var appState = extend({
menuOpen: false,
- currentView: seedWords ? seedConfView : !state.metamask.isEthConfirmed ? ethStoreWarning : defaultView,
+ currentView: seedWords ? seedConfView : defaultView,
accountDetail: {
subview: 'transactions',
},
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index 84953d734..aa809b333 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -10,7 +10,6 @@ function reduceMetamask (state, action) {
var metamaskState = extend({
isInitialized: false,
isUnlocked: false,
- isEthConfirmed: false,
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
unconfTxs: {},
@@ -34,11 +33,6 @@ function reduceMetamask (state, action) {
isConfirmed: true,
})
- case actions.AGREE_TO_ETH_WARNING:
- return extend(metamaskState, {
- isEthConfirmed: !metamaskState.isEthConfirmed,
- })
-
case actions.UNLOCK_METAMASK:
return extend(metamaskState, {
isUnlocked: true,