aboutsummaryrefslogtreecommitdiffstats
path: root/ui
diff options
context:
space:
mode:
authorThomas Huang <tmashuang@users.noreply.github.com>2018-03-27 05:55:50 +0800
committerGitHub <noreply@github.com>2018-03-27 05:55:50 +0800
commite001c0900b5256c0c8769f0c3eb5d2007f5b18d3 (patch)
treee4d0d583df9f25972a629b177d617b079d80314c /ui
parentb0fae2ca392f38952cd01f26bfc4886b601baf17 (diff)
parentc9e3e99385571a5b296453798d4be0061feca883 (diff)
downloadtangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.tar
tangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.tar.gz
tangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.tar.bz2
tangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.tar.lz
tangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.tar.xz
tangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.tar.zst
tangerine-wallet-browser-e001c0900b5256c0c8769f0c3eb5d2007f5b18d3.zip
Merge pull request #3680 from danjm/i3517-popup-newui-onboarding
Popup uses new ui onboarding when in beta.
Diffstat (limited to 'ui')
-rw-r--r--ui/app/app.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/app/app.js b/ui/app/app.js
index 6d9296131..d1b17ab5d 100644
--- a/ui/app/app.js
+++ b/ui/app/app.js
@@ -386,7 +386,7 @@ App.prototype.renderPrimary = function () {
isUnlocked,
} = props
const isMascaraOnboarding = isMascara && isOnboarding
- const isBetaUIOnboarding = betaUI && isOnboarding && !props.isPopup && !isRevealingSeedWords
+ const isBetaUIOnboarding = betaUI && isOnboarding
if (!welcomeScreenSeen && betaUI && !isInitialized && !isUnlocked) {
return h(WelcomeScreen)
@@ -397,7 +397,7 @@ App.prototype.renderPrimary = function () {
}
// notices
- if (!props.noActiveNotices) {
+ if (!props.noActiveNotices && !betaUI) {
log.debug('rendering notice screen for unread notices.')
return h(NoticeScreen, {
notice: props.lastUnreadNotice,
@@ -418,7 +418,7 @@ App.prototype.renderPrimary = function () {
return h(HDRestoreVaultScreen, {key: 'HDRestoreVaultScreen'})
} else if (!props.isInitialized && !props.isUnlocked && !isRevealingSeedWords) {
log.debug('rendering menu screen')
- return props.isPopup
+ return !betaUI
? h(OldUIInitializeMenuScreen, {key: 'menuScreenInit'})
: h(InitializeMenuScreen, {key: 'menuScreenInit'})
}