clone

a deno framework for local-first web apps that open instantly, work offline and sync when users choose

fix(ui): make the recovery-phrase reveal a Show/Hide toggle

Dami committed bd5c623
Right after backup the phrase is already on screen, so the reveal button
saying "Show phrase again" read as redundant. It is now a toggle: "Hide phrase"
while the phrase is shown, "Show recovery phrase" (with the passkey confirm)
when it is not — so both the post-backup and reloaded states read correctly.
commit
bd5c623d9eb12c63386fff0894018bd8558677dc
parent
9f9992c08428e433f043a448bb0393ad42234eca
author
Dami <dami.etoile@gmail.com>
2 files changed, +9 -8
Mapps/reference/src/islands/AccountGate.tsx15++++++++-------
Mpackage/testdata/starter.snapshot.json2+-
M apps/reference/src/islands/AccountGate.tsx +8 -7
M package/testdata/starter.snapshot.json +1 -1