mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-24 07:05:35 +00:00
Camera fixes
This commit is contained in:
@@ -703,6 +703,10 @@ const NSInteger PGCameraFrameRate = 30;
|
||||
|
||||
#pragma mark - Flash
|
||||
|
||||
- (AVCaptureFlashMode)currentDeviceFlashMode {
|
||||
return [PGCameraCaptureSession _deviceFlashModeForCameraFlashMode:self.currentFlashMode];
|
||||
}
|
||||
|
||||
- (PGCameraFlashMode)currentFlashMode
|
||||
{
|
||||
switch (self.currentMode)
|
||||
|
||||
Reference in New Issue
Block a user