aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-09-27 23:51:27 -0700
committerAdam Soltys <[email protected]>2026-09-27 23:51:27 -0700
commitd1b54a9cc8f56a2b62a3c12461261e248948ed5b (patch)
tree1a6cff4146110a182cbff14dfc00baa75eeb1dec /src/app.js
parentd2550b6f16d8207deb8286065fa4cf4b903e8542 (diff)
downloadcoinosv3-d1b54a9cc8f56a2b62a3c12461261e248948ed5b.tar.gz
coinosv3-d1b54a9cc8f56a2b62a3c12461261e248948ed5b.zip
Browser Back leaves the Manage and exit pages: they are history entries now, and their own Back pops one.
Co-Authored-By: Claude Fable 5.1 <[email protected]> Claude-Session: https://claude.ai/code/session_01VhUKyXKtsJ67QAFfb7QR9D
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index ee19009..267c18e 100644
--- a/src/app.js
+++ b/src/app.js
@@ -730,7 +730,7 @@ wallet.subscribe(scheduleRender);
// lightbox: a full-screen photo is a place too — the phone's Back must close
// it, not pop the screen under it (which once walked a viewer straight back
// to the start page, so the photo's × then looked like a logout).
-const NAV_FIELDS = ['screen', 'tab', 'txDetail', 'arkMoveDetail', 'arkReconDetail', 'arkExitDetail', 'giftDetail', 'bump', 'giftMode', 'claimStep', 'chatOpen', 'msgView', 'feedId', 'msgCommunity', 'msgPeer', 'profilePk', 'profEdit', 'profEditFilled', 'profOverThread', 'settingsPage', 'nameEditOpen', 'noteThread', 'userSearch', 'zapSetup', 'hatShop', 'lightbox'];
+const NAV_FIELDS = ['screen', 'tab', 'txDetail', 'arkMoveDetail', 'arkReconDetail', 'arkExitDetail', 'giftDetail', 'bump', 'giftMode', 'claimStep', 'chatOpen', 'msgView', 'feedId', 'arkCoinsPage', 'arkExitPage', 'msgCommunity', 'msgPeer', 'profilePk', 'profEdit', 'profEditFilled', 'profOverThread', 'settingsPage', 'nameEditOpen', 'noteThread', 'userSearch', 'zapSetup', 'hatShop', 'lightbox'];
function navSnapshot() {
const s = {};
for (const f of NAV_FIELDS) s[f] = ui[f] ?? null;
@@ -1677,6 +1677,7 @@ function identities() {
// changes, so the next paint is the app's own screen and not the page the
// previous identity (or the unlocked wallet) was reading.
function clearFeatureNav() {
+ ui.arkCoinsPage = null; ui.arkExitPage = null;
ui.profilePk = null; ui.profEdit = null; ui.profEditFilled = false;
ui.chatOpen = false; ui.userSearch = null; ui.noteThread = null; ui.zapSetup = null;
}