fixed pagination

This commit is contained in:
Username1548
2025-03-13 02:30:10 +07:00
parent 102dc9ee55
commit 9d53760137
38 changed files with 778 additions and 294 deletions

View File

@@ -115,7 +115,7 @@ class DietsCubit extends Cubit<DietsState> {
}
}
loadNextPage() async {
Future<void> loadNextPage() async {
if (currentPage < lastPage && !isLoading) {
isLoading = true;

View File

@@ -47,7 +47,7 @@ class FeedCubit extends Cubit<FeedState> {
}
}
loadNextPage() async {
Future<void> loadNextPage() async {
if (currentPage < lastPage && !isLoading) {
isLoading = true;

View File

@@ -174,7 +174,7 @@ class PlansCubit extends Cubit<PlansState> {
}
}
loadNextPage() async {
Future<void> loadNextPage() async {
if (currentPage < lastPage && !isLoading) {
isLoading = true;

View File

@@ -67,7 +67,7 @@ class RecipesCubit extends Cubit<RecipesState> {
}
}
loadNextPage() async {
Future<void> loadNextPage() async {
if (currentPage < lastPage && !isLoading) {
isLoading = true;