From 278c7e93afcd94b2e632310dd52cb84530345ecc Mon Sep 17 00:00:00 2001 From: Michael W Date: Wed, 1 Jan 2025 13:16:07 +0100 Subject: [PATCH] Messaging: Hide new chat button when forwarding messages Change-Id: I511c9745c02bc7918bb38647bd6fb79332cfe523 --- .../ui/conversationlist/ConversationListFragment.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/com/android/messaging/ui/conversationlist/ConversationListFragment.java b/src/com/android/messaging/ui/conversationlist/ConversationListFragment.java index ec9fd2e..4a9ceb5 100644 --- a/src/com/android/messaging/ui/conversationlist/ConversationListFragment.java +++ b/src/com/android/messaging/ui/conversationlist/ConversationListFragment.java @@ -1,6 +1,6 @@ /* * Copyright (C) 2015 The Android Open Source Project - * Copyright (C) 2024 The LineageOS Project + * Copyright (C) 2024-2025 The LineageOS Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -221,7 +221,7 @@ public class ConversationListFragment extends Fragment implements ConversationLi mStartNewConversationButton = (ExtendedFloatingActionButton) rootView.findViewById( R.id.start_new_conversation_button); - if (mArchiveMode) { + if (mArchiveMode || mForwardMessageMode) { mStartNewConversationButton.setVisibility(View.GONE); } else { mStartNewConversationButton.setVisibility(View.VISIBLE);