Don't show fake call UI on old iOS versions

This commit is contained in:
Isaac 2025-05-12 11:11:45 +04:00
parent aa357d463c
commit 78f382a8f1

View File

@ -2400,6 +2400,8 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
}
private func reportFailedIncomingCallKitCall() {
if #available(iOS 14.4, *) {
} else {
guard let callKitIntegration = CallKitIntegration.shared else {
return
}
@ -2425,6 +2427,7 @@ private func extractAccountManagerState(records: AccountRecordsView<TelegramAcco
callKitIntegration.dropCall(uuid: uuid)
})
}
}
private func authorizedContext() -> Signal<AuthorizedApplicationContext, NoError> {
return self.context.get()