From 3c9670bbaaa874cd16af073d756fa294700e6134 Mon Sep 17 00:00:00 2001 From: Grishka Date: Sun, 24 Apr 2022 19:33:57 +0300 Subject: [PATCH] Fix notification background --- .../android/fragments/NotificationsListFragment.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java index 8fcc9dc7..105ececa 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java @@ -179,7 +179,6 @@ public class NotificationsListFragment extends BaseStatusListFragment0 && displayItems.get(pos-1).inset ? V.dp(-10) : child.getY(), child.getX()+child.getWidth(), child.getY()+child.getHeight()); }else{ rect.bottom=Math.max(rect.bottom, child.getY()+child.getHeight()); - rect.right=Math.max(rect.right, child.getX()+child.getHeight()); } }else if(!rect.isEmpty()){ drawInsetBackground(c); @@ -198,6 +197,8 @@ public class NotificationsListFragment extends BaseStatusListFragment