fix(ui): the lock screen says nothing about what it guards
ci / gate (push) Successful in 12m37s

It announced how many wallets the password would open. Before the
password is given, the screen shows a password field and nothing else:
not a count, not names.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NUx7SPonBnB3ofU4mH41WT
This commit is contained in:
2026-10-12 11:59:29 +03:00
co-authored by Claude Fable 5.1
parent 8cfd88b39b
commit 700850c75e
+3 -5
View File
@@ -6,7 +6,9 @@ import { useUnlock, useWallets } from '../api/hooks'
* One password opens every wallet. It goes to Rust and nowhere else. A
* wallet file the password does not open (one quantus-cli wrote under a
* password of its own) stays closed and is offered a one-time re-key on
* the accounts page, once the rest are open.
* the accounts page, once the rest are open. Before the password is given
* the screen says nothing about what is behind it: not how many wallets,
* not their names.
*/
export function LockScreen() {
const wallets = useWallets()
@@ -37,10 +39,6 @@ export function LockScreen() {
)}
{wallets.isSuccess && !none && (
<form onSubmit={submit}>
<p className="muted" style={{ marginTop: 0 }}>
{wallets.data.length === 1 ? '1 wallet' : `${wallets.data.length} wallets`} open
together with one password.
</p>
<div className="field">
<label htmlFor="password">Password</label>
<input