Fixed initial scroll up

This commit is contained in:
M66B 2019-10-03 08:45:19 +02:00
parent a0175a655c
commit 7c445696dc
1 changed files with 2 additions and 1 deletions

View File

@ -3339,7 +3339,8 @@ public class AdapterMessage extends RecyclerView.Adapter<AdapterMessage.ViewHold
cur++;
}
if (gotoTop || cur > prev) {
if (gotoTop ||
(previousList != null && currentList != null && cur > prev)) {
gotoTop = false;
properties.scrollTo(0);
}