From 32f2b826e4e962273d75973a99dedbef16d1a6b1 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sun, 2 Aug 2026 19:46:55 -0700 Subject: The logo always goes home MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Claude-Session: https://claude.ai/code/session_01Wvj4aoeMZwA7VUGdJP9Swi --- src/app.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'src/app.js') 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; -- cgit v1.2.3