Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Commit e137e5e

Browse files
futurepaulbenthecarman
authored andcommitted
fix private zap button logic
1 parent c4ed0c1 commit e137e5e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/Send.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -647,9 +647,9 @@ export function Send() {
647647
const [visibility, setVisibility] =
648648
createSignal<PrivacyLevel>("Not Available");
649649

650-
// If the contact has an npub set the default visibility to private zap
650+
// If the contact has an npub and it's an lnurlp send set the default visibility to private zap
651651
createEffect(() => {
652-
contact()?.npub && setVisibility("Private");
652+
contact()?.npub && lnurlp() && setVisibility("Private");
653653
});
654654

655655
function toggleVisibility() {

0 commit comments

Comments
 (0)