aboutsummaryrefslogtreecommitdiffstats
path: root/src/components
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-02-14 15:46:09 -0800
committerAdam Soltys <[email protected]>2026-02-14 15:46:09 -0800
commit40fc5fe98c08357dff41539de48532d554aa73cb (patch)
tree289e6f1af7f256b1e8ddab75d74e272ead7baa2f /src/components
parentd242a387279119cfc6e191eff3b4e2228cbb5a4e (diff)
downloadcoinos-ui-40fc5fe98c08357dff41539de48532d554aa73cb.tar.gz
coinos-ui-40fc5fe98c08357dff41539de48532d554aa73cb.zip
custodial ark sends
Diffstat (limited to 'src/components')
-rw-r--r--src/components/Account.svelte2
-rw-r--r--src/components/InvoiceActions.svelte2
-rw-r--r--src/components/InvoiceTypes.svelte17
3 files changed, 16 insertions, 5 deletions
diff --git a/src/components/Account.svelte b/src/components/Account.svelte
index b077c30b..adea5c70 100644
--- a/src/components/Account.svelte
+++ b/src/components/Account.svelte
@@ -146,7 +146,7 @@
</div>
{/if}
</div>
- <div class="flex items-start gap-4 shrink-0 text-gray-600">
+ <div class="flex items-start gap-4 shrink-0 text-black">
<div class="flex items-center justify-center w-8 h-8 leading-[0]">
{#if isArk}
<img src="/images/ark.png" class="w-8 h-8 rounded-full object-cover" alt="Ark" />
diff --git a/src/components/InvoiceActions.svelte b/src/components/InvoiceActions.svelte
index 53447fec..e7fb57e3 100644
--- a/src/components/InvoiceActions.svelte
+++ b/src/components/InvoiceActions.svelte
@@ -90,7 +90,7 @@
</button>
{/if}
- {#if !account?.seed && !(account?.pubkey && account?.fingerprint)}
+ {#if !account?.seed && !(account?.pubkey && account?.fingerprint) && account?.type !== "ark"}
<button
class="btn flex-nowrap !w-auto grow"
class:bg-base-300={type === types.bitcoin}
diff --git a/src/components/InvoiceTypes.svelte b/src/components/InvoiceTypes.svelte
index 5845f699..23735a49 100644
--- a/src/components/InvoiceTypes.svelte
+++ b/src/components/InvoiceTypes.svelte
@@ -71,7 +71,7 @@
}}
>
<div class="bg-black rounded-full w-8 h-8 items-center justify-center flex">
- <div class="m-auto">
+ <div class="m-auto mt-1">
<iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300 text-2xl"
></iconify-icon>
</div>
@@ -86,7 +86,7 @@
onclick={() => (activeOnly ? toggleType() : setType(types.bolt12))}
>
<div class="bg-black rounded-full w-8 h-8 items-center justify-center flex">
- <div class="m-auto">
+ <div class="m-auto mt-1">
<iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300 text-2xl"
></iconify-icon>
</div>
@@ -110,7 +110,7 @@
}}
>
<div class="bg-black rounded-full w-8 h-8 items-center justify-center flex">
- <div class="m-auto">
+ <div class="m-auto mt-1">
<iconify-icon noobserver icon="ph:lightning-fill" class="text-yellow-300 text-2xl"
></iconify-icon>
</div>
@@ -142,6 +142,17 @@
<img src="/images/liquid.svg" class="w-8" alt="Liquid" />
<div class="my-auto text-lg">Liquid</div>
</button>
+
+ <button
+ class="btn flex-nowrap !w-auto grow"
+ class:bg-base-300={type === types.ark}
+ class:text-secondary={type === types.ark}
+ class:hidden={activeOnly && type !== types.ark}
+ onclick={() => (activeOnly ? toggleType() : setType("ark"))}
+ >
+ <img src="/images/ark.png" class="w-8 rounded-full" alt="Ark" />
+ <div class="my-auto text-lg">Ark</div>
+ </button>
</div>
<div></div>