diff options
author | Dan J Miller <danjm.com@gmail.com> | 2018-02-17 06:51:16 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-02-17 06:51:16 +0800 |
commit | 81eb5c8796b3a044c1b1e66f509bb14870f7ba92 (patch) | |
tree | dfa605da9014370a61434ac50aaccd479a818478 /ui/app | |
parent | 4e8d9fef8497ff4d34517e4dafd4f5579531f798 (diff) | |
download | tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.tar tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.tar.gz tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.tar.bz2 tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.tar.lz tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.tar.xz tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.tar.zst tangerine-wallet-browser-81eb5c8796b3a044c1b1e66f509bb14870f7ba92.zip |
Ensures that mascara initialize screen is not shown in popup. (#3279)
Diffstat (limited to 'ui/app')
-rw-r--r-- | ui/app/app.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/app/app.js b/ui/app/app.js index 5ffd263d1..1a64bb1a4 100644 --- a/ui/app/app.js +++ b/ui/app/app.js @@ -9,6 +9,7 @@ const classnames = require('classnames') const MascaraFirstTime = require('../../mascara/src/app/first-time').default const MascaraBuyEtherScreen = require('../../mascara/src/app/first-time/buy-ether-screen').default // init +const OldUIInitializeMenuScreen = require('./first-time/init-menu') const InitializeMenuScreen = MascaraFirstTime const NewKeyChainScreen = require('./new-keychain') // accounts @@ -381,7 +382,9 @@ App.prototype.renderPrimary = function () { return h(HDRestoreVaultScreen, {key: 'HDRestoreVaultScreen'}) } else if (!props.isInitialized) { log.debug('rendering menu screen') - return h(InitializeMenuScreen, {key: 'menuScreenInit'}) + return props.isPopup + ? h(OldUIInitializeMenuScreen, {key: 'menuScreenInit'}) + : h(InitializeMenuScreen, {key: 'menuScreenInit'}) } // show unlock screen |