From e137e5eccdf22f745309bb60763d8306888658e6 Mon Sep 17 00:00:00 2001 From: Paul Miller Date: Fri, 12 Apr 2024 16:45:41 -0500 Subject: [PATCH] fix private zap button logic --- src/routes/Send.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/Send.tsx b/src/routes/Send.tsx index 28c0ebab..e73f4c43 100644 --- a/src/routes/Send.tsx +++ b/src/routes/Send.tsx @@ -647,9 +647,9 @@ export function Send() { const [visibility, setVisibility] = createSignal("Not Available"); - // If the contact has an npub set the default visibility to private zap + // If the contact has an npub and it's an lnurlp send set the default visibility to private zap createEffect(() => { - contact()?.npub && setVisibility("Private"); + contact()?.npub && lnurlp() && setVisibility("Private"); }); function toggleVisibility() {