1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2025-02-24 15:11:03 +00:00

Prevent loop

This commit is contained in:
M66B 2020-06-20 14:23:34 +02:00
parent f1de4e5234
commit d79b7e0705

View file

@ -5173,8 +5173,7 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
if (ascending) {
if (currentList != null && currentList.size() > 0) {
properties.scrollTo(currentList.size() - 1, 0);
if (currentList.get(currentList.size() - 1) != null)
gotoTop = false;
gotoTop = false;
}
} else {
gotoTop = false;