From a2ff81a9389e2301255f3d1c6362e596d9def4ea Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Mon, 17 Aug 2026 11:37:42 -0700 Subject: One Back per screen: the outer step's back yields while the entropy page holds the floor Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz --- src/app.js | 5 +++-- 1 file 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') { -- cgit v1.2.3