aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/reducers
diff options
context:
space:
mode:
authorJacky Chan <jchan@uber.com>2017-08-18 19:11:26 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-21 12:51:37 +0800
commit0264ecaad77330b151f4bf4248b66f4659a67cce (patch)
tree0d1a062177a9fff3e32ee89459c3c75aee530a1b /ui/app/reducers
parent20cb6a76ddcad83645b8e67b31d0bce3c8cee116 (diff)
downloadtangerine-wallet-browser-0264ecaad77330b151f4bf4248b66f4659a67cce.tar.gz
tangerine-wallet-browser-0264ecaad77330b151f4bf4248b66f4659a67cce.tar.zst
tangerine-wallet-browser-0264ecaad77330b151f4bf4248b66f4659a67cce.zip
Adding CreatePasswordScreen
Diffstat (limited to 'ui/app/reducers')
-rw-r--r--ui/app/reducers/metamask.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/reducers/metamask.js b/ui/app/reducers/metamask.js
index e0c416c2d..323539eef 100644
--- a/ui/app/reducers/metamask.js
+++ b/ui/app/reducers/metamask.js
@@ -1,5 +1,6 @@
const extend = require('xtend')
const actions = require('../actions')
+const MetamascaraPlatform = require('../../../app/scripts/platforms/window')
module.exports = reduceMetamask
@@ -10,6 +11,7 @@ function reduceMetamask (state, action) {
var metamaskState = extend({
isInitialized: false,
isUnlocked: false,
+ isMascara: window.platform instanceof MetamascaraPlatform,
rpcTarget: 'https://rawtestrpc.metamask.io/',
identities: {},
unapprovedTxs: {},