From 2ec714256136b0738f03cb40b4c8de4c96b3be54 Mon Sep 17 00:00:00 2001 From: Thomas Date: Sat, 10 Dec 2022 18:36:13 +0100 Subject: [PATCH] Fix a display issue with notifications --- .../app/fedilab/android/ui/drawer/NotificationAdapter.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java b/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java index 12911d4f..38deccd3 100644 --- a/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java +++ b/app/src/main/java/app/fedilab/android/ui/drawer/NotificationAdapter.java @@ -367,11 +367,9 @@ public class NotificationAdapter extends RecyclerView.Adapter 0) { - holderStatus.bindingNotification.status.mediaContainer.setVisibility(View.VISIBLE); - } else { + if (!displayMedia) { + holderStatus.bindingNotification.status.attachmentsListContainer.setVisibility(View.GONE); holderStatus.bindingNotification.status.mediaContainer.setVisibility(View.GONE); } String title = "";