From abae198e89962ba18b3ab878afb4adf609e003c7 Mon Sep 17 00:00:00 2001 From: Grishka Date: Sun, 6 Mar 2022 11:06:09 +0300 Subject: [PATCH] Notifications fixes --- .../android/fragments/BaseStatusListFragment.java | 1 + .../android/fragments/NotificationsListFragment.java | 5 +++++ 2 files changed, 6 insertions(+) diff --git a/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java b/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java index 6358c2e0..9b2396a3 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java @@ -351,6 +351,7 @@ public abstract class BaseStatusListFragment exten } }); list.setItemAnimator(new BetterItemAnimator()); + ((UsableRecyclerView) list).setIncludeMarginsInItemHitbox(true); updateToolbar(); } 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 ad798c29..de2cc7e3 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/NotificationsListFragment.java @@ -125,6 +125,11 @@ public class NotificationsListFragment extends BaseStatusListFragment