aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/app.js5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/app.js b/src/app.js
index a8aa3ba..c9ba70a 100644
--- a/src/app.js
+++ b/src/app.js
@@ -706,7 +706,7 @@ function unlockScreen() {
brandHeader(false),
unlockCard(),
featureHook('unlockExtra'),
- ui.fromWallet && accounts.length
+ ui.fromWallet && accounts.length && !ui.entropyPage
? h('button', { class: 'btn-ghost btn-block', onClick: () => { ui.fromWallet = false; ui.screen = 'wallet'; ui.unlockError = ''; render(); } }, t('back'))
: null
);
@@ -2764,7 +2764,8 @@ function onboardScreen() {
return page([
title(t('onbSeedTitle')),
unlockCard(),
- h('button', { class: 'linklike small', onClick: () => { ui.unlockError = ''; o.step = 'welcome'; render(); } }, t('back')),
+ // the entropy page brings its own Back — one is enough
+ ui.entropyPage ? null : h('button', { class: 'linklike small', onClick: () => { ui.unlockError = ''; o.step = 'welcome'; render(); } }, t('back')),
]);
}
if (o.step === 'signin') {