From 519cb672d2570bb098ce701a098d5d28731c6ef0 Mon Sep 17 00:00:00 2001 From: LucasGGamerM Date: Wed, 17 Jul 2024 10:23:55 -0300 Subject: [PATCH] fix(unofficial-quotes): try to fix the sudden reload to the top --- .../joinmastodon/android/fragments/BaseStatusListFragment.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e6af4d78b..fd50f77ac 100644 --- a/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java +++ b/mastodon/src/main/java/org/joinmastodon/android/fragments/BaseStatusListFragment.java @@ -722,7 +722,7 @@ public abstract class BaseStatusListFragment exten assert (this instanceof StatusListFragment) || (this instanceof NotificationsListFragment); List items=this.buildDisplayItems((T) parent); displayItems.subList(startIndex, endIndex+1).clear(); - adapter.notifyItemRangeRemoved(startIndex, endIndex+1); +// adapter.notifyItemRangeRemoved(startIndex, endIndex+1); boolean isEmpty=displayItems.isEmpty(); displayItems.addAll(startIndex, items); if(!isEmpty)