mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various fixes
This commit is contained in:
@@ -82,7 +82,11 @@ final class CameraDeviceContext {
|
||||
|
||||
private var preferredMaxDimensions: CMVideoDimensions {
|
||||
if self.additional {
|
||||
return CMVideoDimensions(width: 1920, height: 1440)
|
||||
if case .iPhoneXS = DeviceModel.current {
|
||||
return CMVideoDimensions(width: 1440, height: 1080)
|
||||
} else {
|
||||
return CMVideoDimensions(width: 1920, height: 1440)
|
||||
}
|
||||
} else {
|
||||
return CMVideoDimensions(width: 1920, height: 1080)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user