mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 14:20:20 +00:00
Video call UI improvements
This commit is contained in:
@@ -131,7 +131,7 @@ final class LegacyCallControllerNode: ASDisplayNode, CallControllerNodeProtocol
|
||||
|
||||
var toggleMute: (() -> Void)?
|
||||
var setCurrentAudioOutput: ((AudioSessionOutput) -> Void)?
|
||||
var beginAudioOuputSelection: (() -> Void)?
|
||||
var beginAudioOuputSelection: ((Bool) -> Void)?
|
||||
var acceptCall: (() -> Void)?
|
||||
var endCall: (() -> Void)?
|
||||
var toggleVideo: (() -> Void)?
|
||||
@@ -139,6 +139,7 @@ final class LegacyCallControllerNode: ASDisplayNode, CallControllerNodeProtocol
|
||||
var presentCallRating: ((CallId) -> Void)?
|
||||
var callEnded: ((Bool) -> Void)?
|
||||
var dismissedInteractively: (() -> Void)?
|
||||
var present: ((ViewController) -> Void)?
|
||||
var setIsVideoPaused: ((Bool) -> Void)?
|
||||
|
||||
init(sharedContext: SharedAccountContext, account: Account, presentationData: PresentationData, statusBar: StatusBar, debugInfo: Signal<(String, String), NoError>, shouldStayHiddenUntilConnection: Bool = false, easyDebugAccess: Bool, call: PresentationCall) {
|
||||
@@ -218,7 +219,7 @@ final class LegacyCallControllerNode: ASDisplayNode, CallControllerNodeProtocol
|
||||
}
|
||||
|
||||
self.buttonsNode.speaker = { [weak self] in
|
||||
self?.beginAudioOuputSelection?()
|
||||
self?.beginAudioOuputSelection?(false)
|
||||
}
|
||||
|
||||
self.buttonsNode.end = { [weak self] in
|
||||
|
||||
Reference in New Issue
Block a user