forked from eatvio/eatvio_app
card adding and selecting default one
This commit is contained in:
@@ -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));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user