Fix nav safe are inset, qr code reactivity

This commit is contained in:
Jon Staab 2026-07-08 15:03:08 -07:00 committed by Jon Staab
parent 6fed1019df
commit 954a11b923
2 changed files with 3 additions and 3 deletions

View file

@ -95,8 +95,6 @@
try {
await downloadText("Nostr Secret Key.txt", cleanupCopy(instructions))
didDownload = true
} catch (e) {
// Dismissing the native share sheet rejects with "Share canceled" — leave
// the flow gated so the user can try again rather than showing an error.
@ -104,6 +102,8 @@
pushToast({theme: "error", message: "We couldn't save your key. Please try again."})
}
}
didDownload = true
}
const onPasswordChange = () => {

View file

@ -13,7 +13,7 @@
const copy = () => clip(code)
$effect(() => {
if (canvas && code) {
if (canvas && wrapper && code) {
QRCode.toCanvas(canvas, code)
}
})