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 --- .../(app)/ecash/[id]/[...version]/+layout.svelte | 30 +++++++++------------- 1 file changed, 12 insertions(+), 18 deletions(-) (limited to 'src/routes/(app)/ecash') diff --git a/src/routes/(app)/ecash/[id]/[...version]/+layout.svelte b/src/routes/(app)/ecash/[id]/[...version]/+layout.svelte index 5da0c1c3..217b9ced 100644 --- a/src/routes/(app)/ecash/[id]/[...version]/+layout.svelte +++ b/src/routes/(app)/ecash/[id]/[...version]/+layout.svelte @@ -27,13 +27,10 @@ {#if amount > 0}
- {#if $fiat} -
{f(amountFiat, currency)}
- {:else} -
- ⚡️{`${s(amount)}`} -
- {/if} +
{f(amountFiat, currency)}
+
+ ⚡️{`${s(amount)}`} +
{/if} @@ -44,17 +41,14 @@ {#if spent > 0}
- {#if $fiat} -
- {f(spentFiat, currency)} - {$t("payments.spent")} -
- {:else} -
- ⚡️{`${s(spent)}`} - {$t("payments.spent")} -
- {/if} +
+ {f(spentFiat, currency)} + {$t("payments.spent")} +
+
+ ⚡️{`${s(spent)}`} + {$t("payments.spent")} +
{/if} -- cgit v1.2.3