From 211511570b447ad0256a992bf8e3b5dfa8a82fb7 Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Thu, 26 Feb 2026 22:10:12 -0800 Subject: fix amount toggles --- src/components/Lnurlw.svelte | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'src/components/Lnurlw.svelte') diff --git a/src/components/Lnurlw.svelte b/src/components/Lnurlw.svelte index 0cc6f824..b952b082 100644 --- a/src/components/Lnurlw.svelte +++ b/src/components/Lnurlw.svelte @@ -48,13 +48,10 @@ {#if minWithdrawable === maxWithdrawable}
- {#if $fiat} -
{f(amountFiat, currency)}
- {:else} -
- ⚡️{`${s(amount)}`} -
- {/if} +
{f(amountFiat, currency)}
+
+ ⚡️{`${s(amount)}`} +
{:else} @@ -78,11 +75,8 @@ disabled={submitting} onkeydown={setMax} > - {#if $fiat} - Max {f((Math.floor(maxWithdrawable / 1000) * rate) / sats, currency)} - {:else} - Max ⚡️{s(Math.floor(maxWithdrawable / 1000))} - {/if} + Max {f((Math.floor(maxWithdrawable / 1000) * rate) / sats, currency)} + Max ⚡️{s(Math.floor(maxWithdrawable / 1000))} {/if} -- cgit v1.2.3