diff --git a/submodules/TelegramVoip/Sources/OngoingCallContext.swift b/submodules/TelegramVoip/Sources/OngoingCallContext.swift index 22a828ea2d..39523582e1 100644 --- a/submodules/TelegramVoip/Sources/OngoingCallContext.swift +++ b/submodules/TelegramVoip/Sources/OngoingCallContext.swift @@ -738,14 +738,11 @@ public final class OngoingCallContext { private var signalingConnectionManager: QueueLocalObject? public static func versions(includeExperimental: Bool, includeReference: Bool) -> [(version: String, supportsVideo: Bool)] { - if @available(iOS 11.0, *) { - #if DEBUG - if "".isEmpty { - return [("5.0.0", true)] - } - #endif + #if os(iOS) && DEBUG + if "".isEmpty { + return [("5.0.0", true)] } - + #endif if debugUseLegacyVersionForReflectors { return [(OngoingCallThreadLocalContext.version(), true)]