diff options
| author | Adam Soltys <[email protected]> | 2026-09-29 09:52:00 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-09-29 09:52:00 -0700 |
| commit | 75d437e81824865ba21fb9c732b351b75c78a180 (patch) | |
| tree | 19efeb6371cf88809958f7aa81be6af876339ebe /src | |
| parent | 9763e3f0b2b9de23231a45274bd534889a7d478c (diff) | |
| download | coinosv3-75d437e81824865ba21fb9c732b351b75c78a180.tar.gz coinosv3-75d437e81824865ba21fb9c732b351b75c78a180.zip | |
The coinos logo always goes to the wallet home, from the vtxo page and every other page.
goHome cleared a hand-kept list of pages and the vtxo list (arkCoinsPage)
wasn't on it — nor a transaction's detail, the hat shop, the till. It now
clears every page the history tracks.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01Du1qT1wbkYwYK6zkGH79Rp
Diffstat (limited to 'src')
| -rw-r--r-- | src/app.js | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -2970,6 +2970,14 @@ function goHome() { ui.addrScan = false; ui.arkMoveOpen = false; ui.nameEditOpen = null; + // ...and every other page the history tracks (the vtxo list, a + // transaction's detail, the hat shop, a lightbox…): home is home, + // whatever was open. The chat's own position is kept for its next visit. + for (const f of NAV_FIELDS) { + if (['screen', 'tab', 'msgView', 'msgCommunity', 'msgPeer', 'feedId'].includes(f)) continue; + ui[f] = ['chatOpen', 'giftMode', 'profEditFilled', 'profOverThread'].includes(f) ? false : null; + } + ui.arkCoinsSel = null; ui.pos = null; ui.feedEdit = null; ui.feedMenu = null; ui.tab = wallet.offline ? 'settings' : 'history'; ui.draft = null; ui.sendResult = null; |
