diff options
Diffstat (limited to 'src/components/AppForm.svelte')
| -rw-r--r-- | src/components/AppForm.svelte | 14 |
1 files changed, 13 insertions, 1 deletions
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 @@ /> <AmountField - desc={$t("accounts.maxfeeDesc")} + none="1%" {currency} {rate} bind:amount={max_fee} @@ -106,6 +108,16 @@ </div> <div> + <label for="notify" class="font-bold mb-1 block" + >{$t("accounts.notifications")}</label + > + <select name="notify" bind:value={notify}> + <option value={false} selected>{$t("accounts.off")}</option> + <option value={true}>{$t("accounts.on")}</option> + </select> + </div> + + <div> <label for="pubkey" class="font-bold mb-1 block" >{$t("accounts.pubkey")}</label > |
