mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-07-24 12:10:49 +00:00
Merge branch 'master' of gitlab.com:peter-iakovlev/telegram-ios
This commit is contained in:
commit
a784720d3a
@ -434,8 +434,10 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro
|
||||
case .incomingRequested:
|
||||
strongSelf.call.acceptVideo()
|
||||
default:
|
||||
self?.endCall?()
|
||||
strongSelf.endCall?()
|
||||
}
|
||||
case .requesting:
|
||||
strongSelf.endCall?()
|
||||
case .ringing:
|
||||
strongSelf.acceptCall?()
|
||||
default:
|
||||
@ -761,7 +763,7 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro
|
||||
if !self.statusNode.subtitle.isEmpty {
|
||||
text += "\n\(self.statusNode.subtitle)"
|
||||
}
|
||||
statusValue = .text(string: text, displayLogo: true)
|
||||
statusValue = .text(string: text, displayLogo: false)
|
||||
case .active(let timestamp, let reception, let keyVisualHash), .reconnecting(let timestamp, let reception, let keyVisualHash):
|
||||
let strings = self.presentationData.strings
|
||||
var isReconnecting = false
|
||||
@ -799,7 +801,7 @@ final class CallControllerNode: ViewControllerTracingNode, CallControllerNodePro
|
||||
if !self.statusNode.subtitle.isEmpty {
|
||||
text += "\n\(self.statusNode.subtitle)"
|
||||
}
|
||||
statusValue = .text(string: text, displayLogo: true)
|
||||
statusValue = .text(string: text, displayLogo: false)
|
||||
/*case .outgoingRequested:
|
||||
statusValue = .text(string: self.presentationData.strings.Call_StatusRequesting, displayLogo: false)*/
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user