Added app update info screen

This commit is contained in:
Ilya Laktyushin
2019-06-29 12:41:52 +02:00
parent 7a71806cf9
commit 971892f941
16 changed files with 296 additions and 57 deletions

View File

@@ -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
}