mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various improvements
This commit is contained in:
parent
a6544e5d57
commit
dff0a61d19
47 changed files with 3435 additions and 1308 deletions
|
|
@ -760,7 +760,17 @@ public final class Camera {
|
|||
|
||||
public let metrics: Camera.Metrics
|
||||
|
||||
public init(configuration: Camera.Configuration = Configuration(preset: .hd1920x1080, position: .back, audio: true, photo: false, metadata: false), previewView: CameraSimplePreviewView? = nil, secondaryPreviewView: CameraSimplePreviewView? = nil) {
|
||||
public init(
|
||||
configuration: Camera.Configuration = Configuration(
|
||||
preset: .hd1920x1080,
|
||||
position: .back,
|
||||
audio: true,
|
||||
photo: false,
|
||||
metadata: false
|
||||
),
|
||||
previewView: CameraSimplePreviewView? = nil,
|
||||
secondaryPreviewView: CameraSimplePreviewView? = nil
|
||||
) {
|
||||
Logger.shared.log("Camera", "Init")
|
||||
|
||||
self.metrics = Camera.Metrics(model: DeviceModel.current)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue