mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-09 08:14:28 +01:00
fix private zap button logic
This commit is contained in:
committed by
benthecarman
parent
c4ed0c123b
commit
e137e5eccd
@@ -647,9 +647,9 @@ export function Send() {
|
||||
const [visibility, setVisibility] =
|
||||
createSignal<PrivacyLevel>("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() {
|
||||
|
||||
Reference in New Issue
Block a user