Fix build

This commit is contained in:
Ali 2022-06-10 17:04:13 +04:00
parent b5c3bec13e
commit ef727ee08e

View File

@ -738,14 +738,11 @@ public final class OngoingCallContext {
private var signalingConnectionManager: QueueLocalObject<CallSignalingConnectionManager>? private var signalingConnectionManager: QueueLocalObject<CallSignalingConnectionManager>?
public static func versions(includeExperimental: Bool, includeReference: Bool) -> [(version: String, supportsVideo: Bool)] { public static func versions(includeExperimental: Bool, includeReference: Bool) -> [(version: String, supportsVideo: Bool)] {
if @available(iOS 11.0, *) { #if os(iOS) && DEBUG
#if DEBUG if "".isEmpty {
if "".isEmpty { return [("5.0.0", true)]
return [("5.0.0", true)]
}
#endif
} }
#endif
if debugUseLegacyVersionForReflectors { if debugUseLegacyVersionForReflectors {
return [(OngoingCallThreadLocalContext.version(), true)] return [(OngoingCallThreadLocalContext.version(), true)]