mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Don't show fake call UI on old iOS versions
This commit is contained in:
parent
aa357d463c
commit
78f382a8f1
@ -2400,6 +2400,8 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
|||||||
}
|
}
|
||||||
|
|
||||||
private func reportFailedIncomingCallKitCall() {
|
private func reportFailedIncomingCallKitCall() {
|
||||||
|
if #available(iOS 14.4, *) {
|
||||||
|
} else {
|
||||||
guard let callKitIntegration = CallKitIntegration.shared else {
|
guard let callKitIntegration = CallKitIntegration.shared else {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
@ -2425,6 +2427,7 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
|
|||||||
callKitIntegration.dropCall(uuid: uuid)
|
callKitIntegration.dropCall(uuid: uuid)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private func authorizedContext() -> Signal<AuthorizedApplicationContext, NoError> {
|
private func authorizedContext() -> Signal<AuthorizedApplicationContext, NoError> {
|
||||||
return self.context.get()
|
return self.context.get()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user