Messaging: Hide new chat button when forwarding messages

Change-Id: I511c9745c02bc7918bb38647bd6fb79332cfe523
This commit is contained in:
Michael W
2025-01-01 18:56:09 +01:00
parent 66d57e98a3
commit 278c7e93af
@@ -1,6 +1,6 @@
/* /*
* Copyright (C) 2015 The Android Open Source Project * 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"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with 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( mStartNewConversationButton = (ExtendedFloatingActionButton) rootView.findViewById(
R.id.start_new_conversation_button); R.id.start_new_conversation_button);
if (mArchiveMode) { if (mArchiveMode || mForwardMessageMode) {
mStartNewConversationButton.setVisibility(View.GONE); mStartNewConversationButton.setVisibility(View.GONE);
} else { } else {
mStartNewConversationButton.setVisibility(View.VISIBLE); mStartNewConversationButton.setVisibility(View.VISIBLE);