fix pagination.

This commit is contained in:
Livinglist
2021-12-24 23:03:30 -08:00
parent e6071ac30b
commit d30d353845

View File

@ -60,7 +60,7 @@ class StoriesBloc extends Bloc<StoriesEvent, StoriesState> {
var upper = _pageSize + _pageSize * (currentPage + 1);
if (len > lower) {
if (len > upper) {
if (len < upper) {
upper = len;
}