aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Pinpad.svelte
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-02 22:37:05 -0800
committerAdam Soltys <[email protected]>2026-03-02 22:37:05 -0800
commit11d358ad0412b794ecf89b4da9f99ac41ed9c3fe (patch)
tree61808f5d31df326ad7c3d459e16d4f6085368ad0 /src/components/Pinpad.svelte
parentc0da099aa48f6bbc168159293bfae9e60daffeda (diff)
downloadcoinos-ui-11d358ad0412b794ecf89b4da9f99ac41ed9c3fe.tar.gz
coinos-ui-11d358ad0412b794ecf89b4da9f99ac41ed9c3fe.zip
inline icons
Diffstat (limited to 'src/components/Pinpad.svelte')
-rw-r--r--src/components/Pinpad.svelte9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/components/Pinpad.svelte b/src/components/Pinpad.svelte
index 6d528a98..081e6a42 100644
--- a/src/components/Pinpad.svelte
+++ b/src/components/Pinpad.svelte
@@ -1,4 +1,6 @@
<script lang="ts">
+ import PhEyeSlashBold from "virtual:icons/ph/eye-slash-bold";
+ import PhEyeBold from "virtual:icons/ph/eye-bold";
import Left from "$comp/Left.svelte";
import { focus, post, warning } from "$lib/utils";
import { t } from "$lib/translations";
@@ -67,8 +69,11 @@
onclick={toggle}
aria-label={hide ? "Show PIN" : "Hide PIN"}
>
- <iconify-icon noobserver icon={hide ? "ph:eye-slash-bold" : "ph:eye-bold"} width="32"
- ></iconify-icon>
+ {#if hide}
+ <PhEyeSlashBold width="32" />
+ {:else}
+ <PhEyeBold width="32" />
+ {/if}
</button>
</label>