mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Version 11.5.3
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
import SGSimpleSettings
|
||||
import Foundation
|
||||
import UIKit
|
||||
import Display
|
||||
@@ -891,7 +892,8 @@ public class VideoMessageCameraScreen: ViewController {
|
||||
self.previewContainerView.addSubview(self.previewContainerContentView)
|
||||
|
||||
let isDualCameraEnabled = Camera.isDualCameraSupported(forRoundVideo: true)
|
||||
let isFrontPosition = "".isEmpty
|
||||
// MARK: Swiftgram
|
||||
let isFrontPosition = !SGSimpleSettings.shared.startTelescopeWithRearCam
|
||||
|
||||
self.mainPreviewView = CameraSimplePreviewView(frame: .zero, main: true, roundVideo: true)
|
||||
self.additionalPreviewView = CameraSimplePreviewView(frame: .zero, main: false, roundVideo: true)
|
||||
@@ -1553,7 +1555,7 @@ public class VideoMessageCameraScreen: ViewController {
|
||||
|
||||
private var validLayout: ContainerViewLayout?
|
||||
|
||||
fileprivate var camera: Camera? {
|
||||
public var camera: Camera? {
|
||||
return self.node.camera
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user