aboutsummaryrefslogtreecommitdiffstats
path: root/src/app.js
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-08-15 15:34:13 -0700
committerAdam Soltys <[email protected]>2026-08-15 15:34:13 -0700
commitfdeb30a3cf4278e395741f0d0f7c6fedf575891f (patch)
tree7b4c5b6f491f57c6013f750ba94b95380a37387e /src/app.js
parent13ad9356c9b2b2cb519bb5e0410b575100db4cfa (diff)
downloadcoinosv3-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.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/app.js b/src/app.js
index 72ea98b8..da5fd7b 100644
--- a/src/app.js
+++ b/src/app.js
@@ -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();