diff --git a/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift b/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift index d519e88..9380e97 100644 --- a/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift +++ b/ios/Extensions/AVCaptureDevice.Format+toDictionary.swift @@ -23,7 +23,7 @@ extension AVCaptureDevice.Format { func toDictionary() -> [String: Any] { let videoDimensions = CMVideoFormatDescriptionGetDimensions(formatDescription) - + var dict: [String: Any] = [ "videoStabilizationModes": videoStabilizationModes.map(\.descriptor), "autoFocusSystem": autoFocusSystem.descriptor, @@ -45,11 +45,11 @@ extension AVCaptureDevice.Format { ] }, ] - + if #available(iOS 13.0, *) { dict["isHighestPhotoQualitySupported"] = self.isHighestPhotoQualitySupported } - + return dict } }