mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Various fixes
This commit is contained in:
@@ -331,11 +331,7 @@ private final class VideoMessageCameraScreenComponent: CombinedComponent {
|
||||
self.updateScreenBrightness(isFlashOn: isFlashOn)
|
||||
|
||||
if controller.cameraState.position == .back {
|
||||
if isFlashOn {
|
||||
camera.setTorchActive(true)
|
||||
} else {
|
||||
camera.setTorchActive(false)
|
||||
}
|
||||
camera.setTorchActive(isFlashOn)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user