From 6d7892ac663a5304d35e42de93de8c25e6484c70 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sat, 4 Feb 2023 17:48:56 +0000 Subject: [PATCH] chore: indicate zap supported --- src/Element/LNURLTip.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Element/LNURLTip.tsx b/src/Element/LNURLTip.tsx index 91930b48..550ed07f 100644 --- a/src/Element/LNURLTip.tsx +++ b/src/Element/LNURLTip.tsx @@ -240,11 +240,12 @@ export default function LNURLTip(props: LNURLTipProps) { ) } + const defaultTitle = payService?.allowsNostr === true ? "⚡️ Send Zap!" : "⚡️ Send sats"; if (!show) return null; return (
e.stopPropagation()}> -

{props.title || "⚡️ Send sats"}

+

{props.title || defaultTitle}

{invoiceForm()} {error ?

{error}

: null} {payInvoice()}