card adding and selecting default one

This commit is contained in:
Username1548
2025-03-21 20:40:48 +07:00
parent fa817548d9
commit cdc16b9a9c
30 changed files with 1254 additions and 296 deletions

View File

@@ -63,7 +63,7 @@ class RecipesCubit extends Cubit<RecipesState> {
lastPage = currentPage;
} catch (e, st) {
log(e.toString(), stackTrace: st);
emit(state.copyWith(errorMessage: e.toString()));
emit(state.copyWith(errorMessage: e.toString(), isLoading: false));
}
}
@@ -94,7 +94,7 @@ class RecipesCubit extends Cubit<RecipesState> {
}
lastPage = currentPage;
} catch (e) {
emit(state.copyWith(errorMessage: e.toString()));
emit(state.copyWith(errorMessage: e.toString(), isLoading: false));
}
}
}