Ecash
setType(types.liquid)} >
Liquid
{#if user?.id === invoice?.user?.id}
{t("payments.setAmount")}
{:else}
{t("payments.openLink")}
{/if}
{t("invoice.setMemo")}
copy(txt)}>
{t("payments.copy")}
goto("/receive")}>
{t("user.send.paste")}
goto("/scan")}>
{t("user.send.scan")}
{#if txt.length > 120}
(showQr = !showQr)}> {#if showQr}
{:else}
{/if}
{showQr ? t("payments.showText") : t("payments.showQr")}
{/if}
{ $amountPrompt = false; newAmount = undefined; setType(types.lightning); }} >
Lightning
setType(types.bitcoin)} >
Bitcoin
{t("payments.moreOptions")}