fix: Fix torch not being reset after video recording (#2209)

This commit is contained in:
Marc Rousavy
2023-11-23 22:19:44 +01:00
committed by GitHub
parent 717a3534bc
commit bb3a42e6bc
3 changed files with 13 additions and 8 deletions

View File

@@ -214,7 +214,7 @@ public final class CameraView: UIView, CameraSessionDelegate {
// Side-Props
config.fps = fps?.int32Value
config.enableLowLightBoost = lowLightBoost
config.torch = getTorch()
config.torch = try Torch(jsValue: torch)
// Zoom
config.zoom = zoom.doubleValue