From ba0aa88cb9007ac598439cf9ee8c2738c2d02ab6 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Sun, 19 Nov 2023 15:51:33 +0100 Subject: [PATCH] fix: Also `exposure` --- package/ios/Core/CameraConfiguration.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package/ios/Core/CameraConfiguration.swift b/package/ios/Core/CameraConfiguration.swift index 2d7a62f..a5964c2 100644 --- a/package/ios/Core/CameraConfiguration.swift +++ b/package/ios/Core/CameraConfiguration.swift @@ -95,10 +95,10 @@ class CameraConfiguration { /** Returns `true` when props that affect the AVCaptureDevice configuration (i.e. props that require lockForConfiguration()) have changed. - [`formatChanged`, `sidePropsChanged`, `zoomChanged`] + [`formatChanged`, `sidePropsChanged`, `zoomChanged`, `exposureChanged`] */ var isDeviceConfigurationDirty: Bool { - return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged + return isSessionConfigurationDirty || formatChanged || sidePropsChanged || zoomChanged || exposureChanged } init(between left: CameraConfiguration?, and right: CameraConfiguration) {