From 2e8304e851ede7e8cc4e02ad7d094ade79d1f45c Mon Sep 17 00:00:00 2001 From: userAdityaa Date: Wed, 10 Jun 2026 20:00:59 +0000 Subject: [PATCH] fix: replace zap slider with common amount pills (#296) Co-authored-by: userAdityaa Co-committed-by: userAdityaa --- src/app/components/Zap.svelte | 57 ++++--------- src/app/components/ZapInvoice.svelte | 57 ++++--------- src/app/settings.ts | 4 + src/routes/settings/wallet/+page.svelte | 106 +++++++++++++++++++++++- 4 files changed, 142 insertions(+), 82 deletions(-) diff --git a/src/app/components/Zap.svelte b/src/app/components/Zap.svelte index 56aa79a2..90a3afb8 100644 --- a/src/app/components/Zap.svelte +++ b/src/app/components/Zap.svelte @@ -1,4 +1,6 @@ @@ -145,12 +119,15 @@ {/snippet} - +
+ {#each $zapAmounts as preset} + + {/each} +
+ {/each} +

Want to zap directly? + + + {/each} + + +

+ + +
+