From d6d36b52f16d02bd112483ae9fe69876623935b6 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Wed, 12 Mar 2025 15:19:52 -0700 Subject: opt in to nwc notifications --- src/components/AppForm.svelte | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) (limited to 'src/components/AppForm.svelte') diff --git a/src/components/AppForm.svelte b/src/components/AppForm.svelte index 0642e1b1..76f703f1 100644 --- a/src/components/AppForm.svelte +++ b/src/components/AppForm.svelte @@ -4,6 +4,7 @@ import { page } from "$app/stores"; import AmountField from "$comp/AmountField.svelte"; import Numpad from "$comp/Numpad.svelte"; + import Toggle from "$comp/Toggle.svelte"; import { getPublicKey } from "nostr-tools"; import { onMount, tick } from "svelte"; import { bytesToHex, randomBytes } from "@noble/hashes/utils"; @@ -25,6 +26,7 @@ budget_renewal, pubkey, secret, + notify, } = $props(); let { currency } = $derived(user); @@ -84,7 +86,7 @@ /> +
+ + +
+