From 0e45d9806053ee30820826cc83f937c769404c5b Mon Sep 17 00:00:00 2001 From: Vadim <44135514+vodemn@users.noreply.github.com> Date: Mon, 17 Mar 2025 22:43:00 +0100 Subject: [PATCH] ML-221 Spot Metering only available when Histogram is enabled (#225) --- .../components/camera_preview/widget_camera_preview.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart b/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart index 6607ddc..4dda373 100644 --- a/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart +++ b/lib/screens/metering/components/camera_container/components/camera_preview/widget_camera_preview.dart @@ -132,7 +132,7 @@ class _ProFeaturesOverlay extends StatelessWidget { ); final bool hasSpotMetering = UserPreferencesProvider.cameraFeatureOf( context, - CameraFeature.histogram, + CameraFeature.spotMetering, ); return Stack( alignment: Alignment.bottomCenter,