diff options
| author | Adam Soltys <[email protected]> | 2026-08-02 19:46:55 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-02 19:46:55 -0700 |
| commit | 32f2b826e4e962273d75973a99dedbef16d1a6b1 (patch) | |
| tree | 6d94e41c2e773faa64e6265b8fd9d83ccb251ea7 | |
| parent | 49a2dd2761fa6ede9f0de4d50cdc4c1c1f731147 (diff) | |
| download | coinosv3-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
| -rw-r--r-- | src/app.js | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -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; |
