mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-02-02 13:04:22 +01:00
default to private zap
This commit is contained in:
committed by
benthecarman
parent
11e0b8655b
commit
99f461c99e
@@ -647,6 +647,11 @@ export function Send() {
|
||||
const [visibility, setVisibility] =
|
||||
createSignal<PrivacyLevel>("Not Available");
|
||||
|
||||
// If the contact has an npub set the default visibility to private zap
|
||||
createEffect(() => {
|
||||
contact()?.npub && setVisibility("Private");
|
||||
});
|
||||
|
||||
function toggleVisibility() {
|
||||
if (visibility() === "Not Available") {
|
||||
setVisibility("Private");
|
||||
|
||||
Reference in New Issue
Block a user