From 1da8e89d721c0d6b35c3a972aa6722e9c8d64ef9 Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Sun, 22 Jan 2023 22:37:58 +0300 Subject: [PATCH] fixed --- lib/application.dart | 2 ++ lib/screens/metering/ev_source/camera/bloc_camera.dart | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/application.dart b/lib/application.dart index 7a5c822..3343240 100644 --- a/lib/application.dart +++ b/lib/application.dart @@ -42,6 +42,8 @@ class Application extends StatelessWidget { return AnnotatedRegion( value: SystemUiOverlayStyle( statusBarColor: Colors.transparent, + statusBarBrightness: + systemIconsBrightness == Brightness.light ? Brightness.dark : Brightness.light, statusBarIconBrightness: systemIconsBrightness, systemNavigationBarColor: context.watch().colorScheme.surface, systemNavigationBarIconBrightness: systemIconsBrightness, diff --git a/lib/screens/metering/ev_source/camera/bloc_camera.dart b/lib/screens/metering/ev_source/camera/bloc_camera.dart index fc85e93..6824447 100644 --- a/lib/screens/metering/ev_source/camera/bloc_camera.dart +++ b/lib/screens/metering/ev_source/camera/bloc_camera.dart @@ -96,6 +96,7 @@ class CameraBloc extends EvSourceBloc { await _cameraController!.getExposureOffsetStepSize().then((value) { _exposureStep = value == 0 ? 0.1 : value; }); + _currentExposureOffset = 0.0; emit(CameraInitializedState(_cameraController!));