aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-17 11:37:42 -0700
committerAdam Soltys <[email protected]>2026-08-17 11:37:42 -0700
commita2ff81a9389e2301255f3d1c6362e596d9def4ea (patch)
treef6880da83518fdcb083eceb44028468216cf6379 /src/app.js
parent376e55a40b37edc566f60ddec4e4a9800d30e46b (diff)
downloadcoinosv3-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.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') {