From 40fc5fe98c08357dff41539de48532d554aa73cb Mon Sep 17 00:00:00 2001 From: Adam Soltys Date: Sat, 14 Feb 2026 15:46:09 -0800 Subject: custodial ark sends --- src/routes/(app)/account/[id]/+page.svelte | 26 ++++++++++++-------------- 1 file changed, 12 insertions(+), 14 deletions(-) (limited to 'src/routes/(app)/account') diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte index fa9d744d..157dd096 100644 --- a/src/routes/(app)/account/[id]/+page.svelte +++ b/src/routes/(app)/account/[id]/+page.svelte @@ -30,7 +30,7 @@ let currency = $state(data.account.currency || data.user.currency); let autowithdraw = $state(data.account.autowithdraw || false); let threshold = $state(data.account.threshold || data.user.threshold || 1000000); - let reserve = $state(data.account.reserve || data.user.reserve || 0); + let reserve = $state(data.account.reserve ?? 0); let destination = $state(data.account.destination || data.user.destination || ""); let rate = $derived(rates[currency]); @@ -113,21 +113,19 @@
-

{$t("payments.accountSettings")}

+

+ {#if account.type === "ark"} + Ark + {:else if seed} + + {:else} + Coinos + {/if} + {displayType} {$t("payments.accountSettings").toLowerCase()} +

-
- {$t("accounts.accountType")}: - {#if account.type === "ark"} - Ark - {:else if seed} - - {:else} - Coinos - {/if} - {displayType} -
@@ -213,7 +211,7 @@ {/if} - {#if seed} + {#if seed || account.type === "ark"}