fix: Ensure format is properly checked for equality (#2083)

* fix: Properly check for equality in `CameraDeviceFormat`

* Update CameraSession.kt

* fix: Fix `autoFocusSystem` parsing

* Format
This commit is contained in:
Marc Rousavy
2023-10-25 12:56:32 +02:00
committed by GitHub
parent d675b6a9da
commit bcf201a9a3
3 changed files with 5 additions and 56 deletions

View File

@@ -11,7 +11,7 @@ import Foundation
enum AutoFocusSystem: String, JSUnionValue {
case contrastDetection = "contrast-detection"
case phaseDetection
case phaseDetection = "phase-detection"
case none
init(jsValue: String) throws {