diff options
| author | Adam Soltys <[email protected]> | 2026-08-17 11:37:42 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-17 11:37:42 -0700 |
| commit | a2ff81a9389e2301255f3d1c6362e596d9def4ea (patch) | |
| tree | f6880da83518fdcb083eceb44028468216cf6379 /src/app.js | |
| parent | 376e55a40b37edc566f60ddec4e4a9800d30e46b (diff) | |
| download | coinosv3-a2ff81a9389e2301255f3d1c6362e596d9def4ea.tar.gz coinosv3-a2ff81a9389e2301255f3d1c6362e596d9def4ea.zip | |
One Back per screen: the outer step's back yields while the entropy page holds the floor
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01JtaatFfAbx91Nh3xqKVqKz
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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') { |
