mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Fix build
This commit is contained in:
parent
b5c3bec13e
commit
ef727ee08e
@ -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)]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user