Fix nav safe are inset, qr code reactivity
This commit is contained in:
parent
6fed1019df
commit
954a11b923
2 changed files with 3 additions and 3 deletions
|
|
@ -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 = () => {
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@
|
|||
const copy = () => clip(code)
|
||||
|
||||
$effect(() => {
|
||||
if (canvas && code) {
|
||||
if (canvas && wrapper && code) {
|
||||
QRCode.toCanvas(canvas, code)
|
||||
}
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue