diff options
| author | Adam Soltys <[email protected]> | 2026-08-15 15:34:13 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-08-15 15:34:13 -0700 |
| commit | fdeb30a3cf4278e395741f0d0f7c6fedf575891f (patch) | |
| tree | 7b4c5b6f491f57c6013f750ba94b95380a37387e /src/app.js | |
| parent | 13ad9356c9b2b2cb519bb5e0410b575100db4cfa (diff) | |
| download | coinosv3-fdeb30a3cf4278e395741f0d0f7c6fedf575891f.tar.gz coinosv3-fdeb30a3cf4278e395741f0d0f7c6fedf575891f.zip | |
Tapping the padlock without a password asks for one every time — a lock that reopens itself is not a lock, and the copy now says so
Co-Authored-By: Claude Fable 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_014tE4U5nEjGTQy8PwYqamfv
Diffstat (limited to 'src/app.js')
| -rw-r--r-- | src/app.js | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -1685,9 +1685,11 @@ function lock({ offerPassword = false } = {}) { ui.broadcastTx = null; ui.bump = null; // After the resets above (which clear ui.pw): locking with no password locks - // nothing, so offer one — once, and only when a person chose to lock, never - // when the idle timer did it for them. - if (noPassword && offerPassword && !lockPwAsked()) { + // NOTHING — the wallets reopen by themselves. So a person who taps the + // padlock gets the password prompt every time until one exists; without it + // the tap would just be a confusing trip to the wallet list. (The idle + // timer still never nags.) + if (noPassword && offerPassword) { ui.pw = { purpose: 'lock', mode: 'set', v0: '', v1: '', v2: '', error: '' }; } render(); |
