aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-02 19:46:55 -0700
committerAdam Soltys <[email protected]>2026-08-02 19:46:55 -0700
commit32f2b826e4e962273d75973a99dedbef16d1a6b1 (patch)
tree6d94e41c2e773faa64e6265b8fd9d83ccb251ea7 /src/app.js
parent49a2dd2761fa6ede9f0de4d50cdc4c1c1f731147 (diff)
downloadcoinosv3-32f2b826e4e962273d75973a99dedbef16d1a6b1.tar.gz
coinosv3-32f2b826e4e962273d75973a99dedbef16d1a6b1.zip
The logo always goes home
goHome cleared the chat takeover but not the newer ones — the profile page, ark exit page, settings subpages, the rescan list, the open move panel. Clicking the logo from any of them now lands on Receive. Co-Authored-By: Claude Fable 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi
Diffstat (limited to 'src/app.js')
-rw-r--r--src/app.js10
1 files changed, 9 insertions, 1 deletions
diff --git a/src/app.js b/src/app.js
index de52acd..7e9d9e8 100644
--- a/src/app.js
+++ b/src/app.js
@@ -1595,7 +1595,15 @@ function goHome() {
// so the logo is always a way back to your wallet.
if (activeAccount()) {
ui.screen = 'wallet';
- ui.chatOpen = false; // the logo always leads back to the wallet, chat included
+ // Home means home: clear every takeover a feature or subpage may hold —
+ // chat, profile, ark exit, settings subpages, the address rescan list.
+ ui.chatOpen = false;
+ ui.profilePk = null;
+ ui.profEdit = null;
+ ui.arkExitPage = null;
+ ui.settingsPage = null;
+ ui.addrScan = false;
+ ui.arkMoveOpen = false;
ui.tab = wallet.offline ? 'settings' : 'receive';
ui.draft = null;
ui.sendResult = null;