mirror of
https://github.com/Livinglist/Hacki.git
synced 2025-08-26 11:17:22 +08:00
fix pagination.
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user