diff options
| author | Adam Soltys <[email protected]> | 2026-02-26 13:36:28 -0800 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2026-02-26 13:36:28 -0800 |
| commit | a5faa64ba470f935ea3e7932feece3cd9fbadb90 (patch) | |
| tree | 79ec7d6cb2038b5920d5cca977a244fbb189923c /src/routes/(app)/account | |
| parent | b137cdfca84cf68a2b8a620ba1c55337e88a0050 (diff) | |
| download | coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.tar.gz coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.zip | |
ark tests
Diffstat (limited to 'src/routes/(app)/account')
| -rw-r--r-- | src/routes/(app)/account/[id]/+page.svelte | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/routes/(app)/account/[id]/+page.svelte b/src/routes/(app)/account/[id]/+page.svelte index 065b85c6..62c4beea 100644 --- a/src/routes/(app)/account/[id]/+page.svelte +++ b/src/routes/(app)/account/[id]/+page.svelte @@ -5,7 +5,7 @@ import Toggle from "$comp/Toggle.svelte"; import WalletPass from "$comp/WalletPass.svelte"; import { goto } from "$app/navigation"; - import { copy, fail, focus, post } from "$lib/utils"; + import { copy, fail, focus, loc, post } from "$lib/utils"; import { importing } from "$lib/store"; import { enhance } from "$app/forms"; import { t } from "$lib/translations"; @@ -33,6 +33,7 @@ let name = $state(data.account.name || displayType); let currency = $state(data.account.currency || data.user.currency); let userCurrency = $derived(data.user.currency); + let locale = $derived(loc(data.user)); let currencyChanged = $derived(currency !== userCurrency); let updateUserCurrency = $state(false); @@ -325,6 +326,7 @@ <Numpad bind:amount={threshold} {currency} + {locale} bind:rate bind:submit={doneReserve} bind:element={thresholdEl} @@ -341,6 +343,7 @@ <Numpad bind:amount={reserve} {currency} + {locale} bind:rate bind:submit={doneReserve} bind:element={reserveEl} |
