Hide megaphone view in archived list.

This commit is contained in:
Nicholas
2022-09-27 09:27:59 -04:00
committed by Cody Henthorne
parent 9bb089d198
commit 7167ad331f

View File

@@ -819,7 +819,7 @@ public class ConversationListFragment extends MainFragment implements ActionMode
}
private void onMegaphoneChanged(@Nullable Megaphone megaphone) {
if (megaphone == null) {
if (megaphone == null || isArchived()) {
if (megaphoneContainer.resolved()) {
megaphoneContainer.get().setVisibility(View.GONE);
megaphoneContainer.get().removeAllViews();