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)/send/bitcoin | |
| parent | b137cdfca84cf68a2b8a620ba1c55337e88a0050 (diff) | |
| download | coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.tar.gz coinos-ui-a5faa64ba470f935ea3e7932feece3cd9fbadb90.zip | |
ark tests
Diffstat (limited to 'src/routes/(app)/send/bitcoin')
| -rw-r--r-- | src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte index 967c47af..4cb22155 100644 --- a/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte +++ b/src/routes/(app)/send/bitcoin/[address]/[amount]/[...feeRate]/+page.svelte @@ -6,7 +6,7 @@ import Spinner from "$comp/Spinner.svelte"; import WalletPass from "$comp/WalletPass.svelte"; import { page } from "$app/stores"; - import { toFiat, f, focus, s, sat, closest, network } from "$lib/utils"; + import { toFiat, f, focus, loc, s, sat, closest, network } from "$lib/utils"; import { pin } from "$lib/store"; import { goto, invalidate } from "$app/navigation"; import { rate } from "$lib/store"; @@ -198,6 +198,7 @@ let balance = $derived(data.user.balance); let currency = $derived(data.user.currency); + let locale = $derived(loc(data.user)); let submitting = $state(), submit: any = $state(), showSettings = $state(); @@ -231,7 +232,7 @@ <div class="text-xl text-secondary break-all">{address}</div> {/if} - <Amount amount={subtract ? amount - fee - ourfee : amount} rate={$rate} {currency} /> + <Amount amount={subtract ? amount - fee - ourfee : amount} rate={$rate} {currency} {locale} /> {#if fees} <div class="text-center"> @@ -245,7 +246,7 @@ </option> {/each} </select> - <Amount amount={fee} rate={$rate} {currency} /> + <Amount amount={fee} rate={$rate} {currency} {locale} /> </div> </div> @@ -253,7 +254,7 @@ <div class="text-center"> <h2 class="text-secondary text-lg">{$t("payments.platformFee")}</h2> - <Amount amount={ourfee} rate={$rate} {currency} /> + <Amount amount={ourfee} rate={$rate} {currency} {locale} /> </div> {/if} {/if} |
