diff --git a/analysis_options.yaml b/analysis_options.yaml index 2f6cf54..c8e8d30 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -7,4 +7,5 @@ linter: analyzer: exclude: - - "**/generated/**" \ No newline at end of file + - "**/generated/**" + - lib/firebase_options.dart \ No newline at end of file diff --git a/lib/providers/ev_source_type_provider.dart b/lib/providers/ev_source_type_provider.dart index 8c71d03..83657e2 100644 --- a/lib/providers/ev_source_type_provider.dart +++ b/lib/providers/ev_source_type_provider.dart @@ -55,10 +55,8 @@ class EvSourceTypeProviderState extends State { if (context.read().hasLightSensor) { valueListenable.value = EvSourceType.sensor; } - break; case EvSourceType.sensor: valueListenable.value = EvSourceType.camera; - break; } context.read().evSourceType = valueListenable.value; } diff --git a/lib/screens/metering/components/camera_container/bloc_container_camera.dart b/lib/screens/metering/components/camera_container/bloc_container_camera.dart index 0d5fb63..da1c5ce 100644 --- a/lib/screens/metering/components/camera_container/bloc_container_camera.dart +++ b/lib/screens/metering/components/camera_container/bloc_container_camera.dart @@ -211,12 +211,10 @@ class CameraContainerBloc extends EvSourceBlocBase