From ba08b4dfce8e99171d40c0fea7acd74f38f8a7f9 Mon Sep 17 00:00:00 2001 From: Marc Rousavy Date: Thu, 8 Jul 2021 11:01:02 +0200 Subject: [PATCH] chore: Format Swift --- ios/Extensions/AVCaptureDevice.Format+toDictionary.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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 } }