From 44eb9b32fde00a55cc726f1773cc21f031416e73 Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Sat, 8 Feb 2025 12:11:10 +0100 Subject: [PATCH] fix: hide 'clone chat' if there is no chat before, 'clone chat' was hidden for contacts having a one-to-one-chats, but not for contacts _without_ a one-to-one-chat --- src/main/java/org/thoughtcrime/securesms/ProfileActivity.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/org/thoughtcrime/securesms/ProfileActivity.java b/src/main/java/org/thoughtcrime/securesms/ProfileActivity.java index 4f32442bf..e4f21342d 100644 --- a/src/main/java/org/thoughtcrime/securesms/ProfileActivity.java +++ b/src/main/java/org/thoughtcrime/securesms/ProfileActivity.java @@ -153,6 +153,7 @@ public class ProfileActivity extends PassphraseRequiredActionBarActivity menu.findItem(R.id.share).setVisible(false); } } else { + menu.findItem(R.id.menu_clone).setVisible(false); canReceive = false; }