mirror of https://github.com/M66B/FairEmail.git
Fixed scroll to top edge case
This commit is contained in:
parent
3f1f8da05c
commit
270c6d3ded
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue