mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-08 08:31:13 +00:00
Allow video message zoom for all cameras
This commit is contained in:
parent
dc8ad69c26
commit
cf314344bc
@ -919,9 +919,6 @@ static CGFloat angleOffsetFromPortraitOrientationToOrientation(AVCaptureVideoOri
|
|||||||
if (![device respondsToSelector:@selector(setVideoZoomFactor:)])
|
if (![device respondsToSelector:@selector(setVideoZoomFactor:)])
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
if (device.position == AVCaptureDevicePositionFront)
|
|
||||||
return false;
|
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user