Tweak wallet page

This commit is contained in:
Jon Staab
2026-02-12 16:35:33 -08:00
parent 3024e08ca5
commit 5bb55c453f
+2 -6
View File
@@ -126,18 +126,14 @@
{/if} {/if}
</div> </div>
</div> </div>
<div <div class="card2 bg-alt flex flex-col shadow-md gap-6">
class="card2 bg-alt flex flex-col shadow-md"
class:gap-6={profileLightningAddress && walletLud16 && profile?.lud16 !== walletLud16}>
<div class="flex items-center justify-between">
<strong>Lightning Address</strong> <strong>Lightning Address</strong>
<div class="flex items-center gap-2"> <div class="flex justify-between items-center gap-2">
<span class={profileLightningAddress ? "" : "text-warning"}> <span class={profileLightningAddress ? "" : "text-warning"}>
{profileLightningAddress ? profileLightningAddress : "Not set"} {profileLightningAddress ? profileLightningAddress : "Not set"}
</span> </span>
<Button class="btn btn-neutral btn-xs ml-3" onclick={updateReceivingAddress}>Update</Button> <Button class="btn btn-neutral btn-xs ml-3" onclick={updateReceivingAddress}>Update</Button>
</div> </div>
</div>
{#if profileLightningAddress && walletLud16 && profile?.lud16 !== walletLud16} {#if profileLightningAddress && walletLud16 && profile?.lud16 !== walletLud16}
<div class="card2 bg-alt flex items-center gap-2 text-xs"> <div class="card2 bg-alt flex items-center gap-2 text-xs">
<Icon icon={InfoCircle} size={4} /> <Icon icon={InfoCircle} size={4} />