From 02f673c68052aa8751aa08fd33bb71357bcd1526 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Fri, 28 Aug 2026 12:08:49 -0700 Subject: Forget-all keeps its word: the delete-everything warning lives inside the logout popup now, and confirming it wipes on the spot and lands on the front door — no detour through the Accounts page that looked like the deed was done when only a confirm screen had opened MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi --- src/app.js | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/app.js') diff --git a/src/app.js b/src/app.js index 5824c1b..4792f57 100644 --- a/src/app.js +++ b/src/app.js @@ -4409,11 +4409,12 @@ const ctx = { }, // The drastic exit: leave AND remove everything saved on this device. // Routes through the Delete-all warning — never a single tap. + // The popup has already shown the delete-everything warning by the time + // this runs — wipe now and land on the front door. logoutForget: () => { ui.profilePk = null; ui.profEdit = null; ui.profEditFilled = false; ui.chatOpen = false; - ui.screen = 'accounts'; - ui.confirmClear = true; - render(); + ui.pubProf = null; + clearAll(); }, // the identity the header avatar currently wears (login > seed key > // remembered) — profile "mine"-ness must match what the user clicked -- cgit v1.2.3