diff --git a/lib/food_entry/food_entry_bloc.dart b/lib/food_entry/food_entry_bloc.dart index 7647977..6f86f01 100644 --- a/lib/food_entry/food_entry_bloc.dart +++ b/lib/food_entry/food_entry_bloc.dart @@ -21,7 +21,6 @@ class FoodEntryBloc extends Bloc { on(handleDeleteFoodEvent); on(handleBarcodeScannedEvent); on(handleFoodEntryTapped); - on(handlePermissionException); } void handlePageBeingInitialized( PageBeingInitialized event, Emitter emit) async { @@ -216,14 +215,6 @@ class FoodEntryBloc extends Bloc { emit(GlobalEntryState(foodEntries: state.foodEntries)); } - - void handlePermissionException( - PermissionException event, Emitter emit) async { - emit(GlobalEntryState( - foodEntries: state.foodEntries, - appError: - GlobalAppError(GlobalAppErrorType.errCameraPermissionDenied))); - } } class FoodEvent {