From 00b27284535641278fcb344d046c0844103b7a12 Mon Sep 17 00:00:00 2001 From: Vadim Date: Fri, 19 May 2023 10:47:58 +0200 Subject: [PATCH] Updated dependencies versions + lints --- analysis_options.yaml | 3 ++- lib/providers/ev_source_type_provider.dart | 2 -- .../bloc_container_camera.dart | 2 -- pubspec.yaml | 22 +++++++++---------- 4 files changed, 13 insertions(+), 16 deletions(-) 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