aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2023-10-24 23:34:39 -0700
committerAdam Soltys <[email protected]>2023-10-24 23:34:39 -0700
commitf558ffd47a7666ce292bf1f8dde949b12904351e (patch)
tree9882e4e3d2b4302363da6bb2052231744e494b4c /src
parent032449b2a4adcabe5f4bc00bb0281d55a8d84c45 (diff)
downloadcoinos-ui-f558ffd47a7666ce292bf1f8dde949b12904351e.tar.gz
coinos-ui-f558ffd47a7666ce292bf1f8dde949b12904351e.zip
fix classic payments
Diffstat (limited to 'src')
-rw-r--r--src/routes/(app)/send/invoice/[id]/+page.svelte12
1 files changed, 10 insertions, 2 deletions
diff --git a/src/routes/(app)/send/invoice/[id]/+page.svelte b/src/routes/(app)/send/invoice/[id]/+page.svelte
index a558895c..02ab9d41 100644
--- a/src/routes/(app)/send/invoice/[id]/+page.svelte
+++ b/src/routes/(app)/send/invoice/[id]/+page.svelte
@@ -102,8 +102,16 @@
<h1 class="text-xl md:text-2xl text-secondary mb-2">{$t('payments.to')}</h1>
<div class="flex p-1 gap-2 justify-center">
- <Avatar user={recipient} size={'20'} />
- <p class="text-4xl break-words my-auto">{recipient.username}</p>
+ {#if recipient.username.includes('@classic')}
+ <img
+ src="/images/classic.png"
+ class="w-24 border-4 border-transparent mr-1"
+ alt="Bitcoin"
+ />
+ {:else}
+ <Avatar user={recipient} size={'20'} />
+ {/if}
+ <p class="text-4xl break-words my-auto">{recipient.username.replace('@classic', '')}</p>
</div>
</div>
{:else}