mirror of
https://github.com/M66B/FairEmail.git
synced 2026-04-08 01:53:25 +02:00
Fixed scroll to top edge case
This commit is contained in:
@@ -4985,7 +4985,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
|
||||
this.differ.addPagedListListener(new AsyncPagedListDiffer.PagedListListener<TupleMessageEx>() {
|
||||
@Override
|
||||
public void onCurrentListChanged(@Nullable PagedList<TupleMessageEx> previousList, @Nullable PagedList<TupleMessageEx> currentList) {
|
||||
if (gotoTop) {
|
||||
if (gotoTop && previousList != null) {
|
||||
gotoTop = false;
|
||||
properties.scrollTo(0, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user