fix issue with loading more

This commit is contained in:
sk
2023-10-07 17:00:16 +02:00
parent b58fda9795
commit 1e95536208

View File

@@ -845,7 +845,7 @@ public abstract class BaseStatusListFragment<T extends DisplayItemsParent> exten
if(getContext()==null) return;
super.onDataLoaded(d, more);
// more available, but the page isn't even full yet? seems wrong, let's load some more
if(more && d.size() < itemsPerPage){
if(more && data.size() < itemsPerPage){
preloader.onScrolledToLastItem();
}
}