diff options
| author | Adam Soltys <[email protected]> | 2026-08-28 12:08:49 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-28 12:08:49 -0700 |
| commit | 02f673c68052aa8751aa08fd33bb71357bcd1526 (patch) | |
| tree | 5c74c10cb52cbbaeccc2b63d25800697dd570831 /src/app.js | |
| parent | d8f84d2df8fe5f75d42d5aed94534e4334478409 (diff) | |
| download | coinosv3-02f673c68052aa8751aa08fd33bb71357bcd1526.tar.gz coinosv3-02f673c68052aa8751aa08fd33bb71357bcd1526.zip | |
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
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_019eA8JRq9Wr7z2fRQk99HLi
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |
