aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Balance.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2024-02-22 23:11:27 -0800
committerAdam Soltys <[email protected]>2024-02-22 23:11:27 -0800
commit3ab1bc1fcc96f78bcc3fb7bc6ff9f84fc75c7c41 (patch)
tree2025ed0f5ceafacd5d22fd90e7c4d997c3bf54a1 /src/components/Balance.svelte
parent87e5041209e2a2631cbe1a76cf9f07466a066748 (diff)
downloadcoinos-ui-3ab1bc1fcc96f78bcc3fb7bc6ff9f84fc75c7c41.tar.gz
coinos-ui-3ab1bc1fcc96f78bcc3fb7bc6ff9f84fc75c7c41.zip
default pin expiry
Diffstat (limited to 'src/components/Balance.svelte')
-rw-r--r--src/components/Balance.svelte8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/components/Balance.svelte b/src/components/Balance.svelte
index 06a5adc9..4d5ac6bd 100644
--- a/src/components/Balance.svelte
+++ b/src/components/Balance.svelte
@@ -1,4 +1,5 @@
<script>
+ import Icon from "$comp/Icon.svelte";
import Pin from "$comp/Pin.svelte";
import { f, s, sat, sats } from "$lib/utils";
import { pin } from "$lib/store";
@@ -15,8 +16,11 @@
<div class="space-y-2">
{#if user.haspin && !$pin}
<button
- class="text-xl rounded-2xl border py-5 px-6 hover:opacity-80 min-w-[72px] bg-black text-white font-bold"
- on:click={() => (show = true)}>{$t("user.showBalance")}</button
+ class="flex gap-2 text-xl rounded-2xl border py-5 px-6 hover:opacity-80 bg-black text-white font-bold"
+ on:click={() => (show = true)}
+ >
+ <Icon icon="eye" style="w-8 invert my-auto" />
+ <div class="my-auto">{$t("user.showBalance")}</div></button
>
{:else}
<div class="text-5xl font-bold tabular-nums">