mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-23 16:00:41 +00:00
fixed
This commit is contained in:
parent
9477f80ada
commit
1da8e89d72
2 changed files with 3 additions and 0 deletions
|
@ -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,
|
||||
|
|
|
@ -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!));
|
||||
|
||||
|
|
Loading…
Reference in a new issue