reorder receive tabs and add mainnet < 25k warning
This commit is contained in:
parent
dda80bb0b6
commit
ab3a8da793
1 changed files with 12 additions and 5 deletions
|
@ -24,11 +24,9 @@
|
|||
<h3>Receive</h3>
|
||||
|
||||
{#if $walletState.open}
|
||||
<Tabs labels={["Bitcoin", "Lightning", "Liquid", "Cashu"]}>
|
||||
<Tabs labels={["Lightning", "Liquid", "Cashu", "Bitcoin"]}>
|
||||
{#snippet children(idx)}
|
||||
{#if idx === 0}
|
||||
<ReceiveTab type="bitcoin" />
|
||||
{:else if idx === 1}
|
||||
<Tabs labels={["Address", "BOLT12"]}>
|
||||
{#snippet children(idx)}
|
||||
{#if idx === 0}
|
||||
|
@ -38,10 +36,19 @@
|
|||
{/if}
|
||||
{/snippet}
|
||||
</Tabs>
|
||||
{:else if idx === 2}
|
||||
{:else if idx === 1}
|
||||
<ReceiveTab type="liquid" />
|
||||
{:else}
|
||||
{:else if idx === 2}
|
||||
<CashuTab />
|
||||
{:else}
|
||||
<p>
|
||||
<b>Warning</b>: This is a bitcoin mainnet address<br />
|
||||
Due to the way PortalBTC works, we cannot support receiving amounts
|
||||
less than 25_000 sats; please use lightning, liquid, or cashu for such
|
||||
amounts. Amounts lower than 25_000 sats sent to this address will become
|
||||
unrecoverable.
|
||||
</p>
|
||||
<ReceiveTab type="bitcoin" />
|
||||
{/if}
|
||||
{/snippet}
|
||||
</Tabs>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue