Skip to content

Commit

Permalink
fix(unofficial-quotes): try to fix the sudden reload to the top
Browse files Browse the repository at this point in the history
  • Loading branch information
LucasGGamerM committed Jul 17, 2024
1 parent 86512e2 commit 519cb67
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -722,7 +722,7 @@ public void updateStatusWithQuote(DisplayItemsParent parent) {
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)
Expand Down

0 comments on commit 519cb67

Please sign in to comment.