This commit is contained in:
Vadim 2023-01-22 22:37:58 +03:00
parent 9477f80ada
commit 1da8e89d72
2 changed files with 3 additions and 0 deletions

View file

@ -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<ThemeData>().colorScheme.surface,
systemNavigationBarIconBrightness: systemIconsBrightness,

View file

@ -96,6 +96,7 @@ class CameraBloc extends EvSourceBloc<CameraEvent, CameraState> {
await _cameraController!.getExposureOffsetStepSize().then((value) {
_exposureStep = value == 0 ? 0.1 : value;
});
_currentExposureOffset = 0.0;
emit(CameraInitializedState(_cameraController!));