This commit is contained in:
Vadim 2023-05-31 09:52:50 +02:00
parent ed28d2d9fc
commit abf55b3413
2 changed files with 4 additions and 2 deletions

View file

@ -49,7 +49,9 @@ class LightmeterProviders extends StatelessWidget {
child: EvSourceTypeProvider( child: EvSourceTypeProvider(
child: SupportedLocaleProvider( child: SupportedLocaleProvider(
child: ThemeProvider( child: ThemeProvider(
child: builder(context, true), child: Builder(
builder: (context) => builder(context, true),
),
), ),
), ),
), ),

View file

@ -29,7 +29,7 @@ class _MeteringFlowState extends State<MeteringFlow> {
context.get<CaffeineService>(), context.get<CaffeineService>(),
context.get<HapticsService>(), context.get<HapticsService>(),
context.get<PermissionsService>(), context.get<PermissionsService>(),
context.read<LightSensorService>(), context.get<LightSensorService>(),
), ),
child: MultiBlocProvider( child: MultiBlocProvider(
providers: [ providers: [