mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-22 22:25:57 +00:00
Added app update info screen
This commit is contained in:
@@ -68,6 +68,8 @@ public final class PresentationCallManager {
|
||||
private var callSettings: VoiceCallSettings?
|
||||
private var callSettingsDisposable: Disposable?
|
||||
|
||||
public var callRequested: ((_ accountPeerId: PeerId, _ peerId: PeerId) -> Void)?
|
||||
|
||||
public static var voipMaxLayer: Int32 {
|
||||
return OngoingCallContext.maxLayer
|
||||
}
|
||||
@@ -314,6 +316,8 @@ public final class PresentationCallManager {
|
||||
} else {
|
||||
begin()
|
||||
}
|
||||
|
||||
self.callRequested?(account.peerId, peerId)
|
||||
} else {
|
||||
let begin: () -> Void = { [weak self] in
|
||||
guard let strongSelf = self else {
|
||||
@@ -329,6 +333,7 @@ public final class PresentationCallManager {
|
||||
} else {
|
||||
begin()
|
||||
}
|
||||
self.callRequested?(account.peerId, peerId)
|
||||
}
|
||||
return .requested
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user