fix(unofficial-quotes): try to fix the sudden reload to the top

This commit is contained in:
LucasGGamerM 2024-07-17 10:23:55 -03:00
parent 86512e237e
commit 519cb672d2
1 changed files with 1 additions and 1 deletions

View File

@ -722,7 +722,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
assert (this instanceof StatusListFragment) || (this instanceof NotificationsListFragment);
List<StatusDisplayItem> 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)