mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Video Chat Improvements
This commit is contained in:
@@ -186,7 +186,7 @@ private class VoiceChatCameraPreviewControllerNode: ViewControllerTracingNode, U
|
||||
|
||||
if #available(iOS 12.0, *) {
|
||||
let broadcastPickerView = RPSystemBroadcastPickerView(frame: CGRect(x: 0, y: 0, width: 50, height: 52.0))
|
||||
broadcastPickerView.alpha = 0.1
|
||||
broadcastPickerView.alpha = 0.05
|
||||
broadcastPickerView.preferredExtension = "\(self.context.sharedContext.applicationBindings.appBundleId).BroadcastUpload"
|
||||
broadcastPickerView.showsMicrophoneButton = false
|
||||
self.broadcastPickerView = broadcastPickerView
|
||||
@@ -293,6 +293,10 @@ private class VoiceChatCameraPreviewControllerNode: ViewControllerTracingNode, U
|
||||
}
|
||||
}
|
||||
|
||||
deinit {
|
||||
self.applicationStateDisposable?.dispose()
|
||||
}
|
||||
|
||||
@objc private func microphonePressed() {
|
||||
self.microphoneButton.isSelected = !self.microphoneButton.isSelected
|
||||
self.microphoneIconNode.update(state: .init(muted: !self.microphoneButton.isSelected, filled: true, color: .white), animated: true)
|
||||
|
||||
Reference in New Issue
Block a user