From 83f5d0793a14fad9b289fe08e4d17fbb82e3dd69 Mon Sep 17 00:00:00 2001 From: adbenitez Date: Wed, 16 Jul 2025 15:47:27 +0200 Subject: [PATCH] hide "add contact manually" from "new chat" screen and from group memeber selection --- .../thoughtcrime/securesms/ContactSelectionListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/thoughtcrime/securesms/ContactSelectionListFragment.java b/src/main/java/org/thoughtcrime/securesms/ContactSelectionListFragment.java index 97c3f8c9b..c93ffcb07 100644 --- a/src/main/java/org/thoughtcrime/securesms/ContactSelectionListFragment.java +++ b/src/main/java/org/thoughtcrime/securesms/ContactSelectionListFragment.java @@ -278,7 +278,7 @@ public class ContactSelectionListFragment extends Fragment @Override public Loader onCreateLoader(int id, Bundle args) { final boolean allowCreation = getActivity().getIntent().getBooleanExtra(ALLOW_CREATION, true); - final boolean addCreateContactLink = allowCreation && !isSelectVerfied(); + final boolean addCreateContactLink = allowCreation && isUnencrypted(); final boolean addCreateGroupLinks = allowCreation && !isRelayingMessageContent(getActivity()) && !isMulti(); final boolean addScanQRLink = allowCreation && !isMulti();