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/Amount.svelte | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) (limited to 'src/components/Amount.svelte') diff --git a/src/components/Amount.svelte b/src/components/Amount.svelte index f368e96c..1f2b1f29 100644 --- a/src/components/Amount.svelte +++ b/src/components/Amount.svelte @@ -33,25 +33,17 @@ onclick={toggleFiat} aria-label="Toggle currency display" > - {#if !canShowFiat} - - {/if} - {#if canShowFiat} - {f(toFiat(amount, rate), currency, locale)} - {:else} - {s(amount, locale)} - {/if} + + {f(toFiat(amount, rate), currency, locale)} + {s(amount, locale)} {#if tip}
+
- {#if canShowFiat} - {f(toFiat(tip, rate), currency, locale)} - {:else} - {s(tip, locale)} - {/if} + {f(toFiat(tip, rate), currency, locale)} + {s(tip, locale)}
{/if} -- cgit v1.2.3