diff options
Diffstat (limited to 'src/components/Balance.svelte')
| -rw-r--r-- | src/components/Balance.svelte | 8 |
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"> |
