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(
|
return AnnotatedRegion(
|
||||||
value: SystemUiOverlayStyle(
|
value: SystemUiOverlayStyle(
|
||||||
statusBarColor: Colors.transparent,
|
statusBarColor: Colors.transparent,
|
||||||
|
statusBarBrightness:
|
||||||
|
systemIconsBrightness == Brightness.light ? Brightness.dark : Brightness.light,
|
||||||
statusBarIconBrightness: systemIconsBrightness,
|
statusBarIconBrightness: systemIconsBrightness,
|
||||||
systemNavigationBarColor: context.watch<ThemeData>().colorScheme.surface,
|
systemNavigationBarColor: context.watch<ThemeData>().colorScheme.surface,
|
||||||
systemNavigationBarIconBrightness: systemIconsBrightness,
|
systemNavigationBarIconBrightness: systemIconsBrightness,
|
||||||
|
|
|
@ -96,6 +96,7 @@ class CameraBloc extends EvSourceBloc<CameraEvent, CameraState> {
|
||||||
await _cameraController!.getExposureOffsetStepSize().then((value) {
|
await _cameraController!.getExposureOffsetStepSize().then((value) {
|
||||||
_exposureStep = value == 0 ? 0.1 : value;
|
_exposureStep = value == 0 ? 0.1 : value;
|
||||||
});
|
});
|
||||||
|
_currentExposureOffset = 0.0;
|
||||||
|
|
||||||
emit(CameraInitializedState(_cameraController!));
|
emit(CameraInitializedState(_cameraController!));
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue