@capgo/camera-preview 7.22.1 → 7.23.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1515,7 +1515,7 @@ public class CameraPreview: CAPPlugin, CAPBridgedPlugin, CLLocationManagerDelega
|
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
1517
|
let ramp = call.getBool("ramp") ?? true
|
|
1518
|
-
let autoFocus = call.getBool("autoFocus") ??
|
|
1518
|
+
let autoFocus = call.getBool("autoFocus") ?? true
|
|
1519
1519
|
|
|
1520
1520
|
do {
|
|
1521
1521
|
try self.cameraController.setZoom(level: CGFloat(level), ramp: ramp, autoFocus: autoFocus)
|