diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-01-16 05:23:44 +0800 |
---|---|---|
committer | Alexander Tseung <alextsg@users.noreply.github.com> | 2018-01-16 05:23:44 +0800 |
commit | aa833a09281960bfc0af5032034021c25c26a7fd (patch) | |
tree | 88a3c55b1eecd082a73b87a86c5c3d0c00dbde02 /app | |
parent | b42baacdf4683be560c5632752347eadf77f1d0f (diff) | |
download | tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.tar tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.tar.gz tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.tar.bz2 tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.tar.lz tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.tar.xz tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.tar.zst tangerine-wallet-browser-aa833a09281960bfc0af5032034021c25c26a7fd.zip |
[NewUI] Place all users of extension into old UI (disable auto adding). (#2946)
* Place all users of extension into old UI (disable auto adding).
* Fix lint errors.
Diffstat (limited to 'app')
-rw-r--r-- | app/scripts/popup.js | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/app/scripts/popup.js b/app/scripts/popup.js index 97a29fb1a..1a2e425dc 100644 --- a/app/scripts/popup.js +++ b/app/scripts/popup.js @@ -26,11 +26,15 @@ const container = document.getElementById('app-content') startPopup({ container, connectionStream }, (err, store) => { if (err) return displayCriticalError(err) - const { isMascara, identities = {}, featureFlags = {} } = store.getState().metamask - const firstTime = Object.keys(identities).length === 0 + // Code commented out until we begin auto adding users to NewUI + // const { isMascara, identities = {}, featureFlags = {} } = store.getState().metamask + // const firstTime = Object.keys(identities).length === 0 + const { isMascara, featureFlags = {} } = store.getState().metamask let betaUIState = featureFlags.betaUI - const useBetaCss = isMascara || firstTime || betaUIState + // Code commented out until we begin auto adding users to NewUI + // const useBetaCss = isMascara || firstTime || betaUIState + const useBetaCss = isMascara || betaUIState let css = useBetaCss ? NewMetaMaskUiCss() : OldMetaMaskUiCss() let deleteInjectedCss = injectCss(css) |