fix: fix lazy loading in chat and feed

This commit is contained in:
mso7nueh
2024-10-03 12:48:53 +03:00
parent 9c5716bd5a
commit 1217c72f2f
5 changed files with 140 additions and 13 deletions

View File

@@ -37,7 +37,9 @@ class FeedCubit extends Cubit<FeedState> {
try {
if (currentPage < lastPage) {
print('before: $currentPage');
currentPage++;
print('after: $currentPage');
final feedBlogPosts = await feedRepository.getFeedBlogPosts(
page: currentPage,
query: _query,