diff --git a/lib/screens/metering/screen_metering.dart b/lib/screens/metering/screen_metering.dart index e9a77b5..93d515e 100644 --- a/lib/screens/metering/screen_metering.dart +++ b/lib/screens/metering/screen_metering.dart @@ -84,15 +84,7 @@ class _InheritedListeners extends StatelessWidget { context.read().add(const FilmChangedEvent(Film.other())); } }, - child: MeteringScreenLayoutFeatureListener( - feature: MeteringScreenLayoutFeature.equipmentProfiles, - onDidChangeDependencies: (value) { - if (!value) { - EquipmentProfileProvider.of(context).setProfile(EquipmentProfiles.of(context).first); - } - }, - child: child, - ), + child: child, ), ); } diff --git a/lib/screens/settings/components/metering/components/metering_screen_layout/components/meterins_screen_layout_features_dialog/widget_dialog_metering_screen_layout_features.dart b/lib/screens/settings/components/metering/components/metering_screen_layout/components/meterins_screen_layout_features_dialog/widget_dialog_metering_screen_layout_features.dart index a043a12..03bb832 100644 --- a/lib/screens/settings/components/metering/components/metering_screen_layout/components/meterins_screen_layout_features_dialog/widget_dialog_metering_screen_layout_features.dart +++ b/lib/screens/settings/components/metering/components/metering_screen_layout/components/meterins_screen_layout_features_dialog/widget_dialog_metering_screen_layout_features.dart @@ -3,6 +3,7 @@ import 'package:lightmeter/data/models/metering_screen_layout_config.dart'; import 'package:lightmeter/generated/l10n.dart'; import 'package:lightmeter/providers/user_preferences_provider.dart'; import 'package:lightmeter/res/dimens.dart'; +import 'package:m3_lightmeter_iap/m3_lightmeter_iap.dart'; class MeteringScreenLayoutFeaturesDialog extends StatefulWidget { const MeteringScreenLayoutFeaturesDialog({super.key}); @@ -48,6 +49,9 @@ class _MeteringScreenLayoutFeaturesDialogState extends State