mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
check debug reflector for ios only
This commit is contained in:
parent
66dd775106
commit
d2ef5dc9c0
@ -738,11 +738,14 @@ public final class OngoingCallContext {
|
||||
private var signalingConnectionManager: QueueLocalObject<CallSignalingConnectionManager>?
|
||||
|
||||
public static func versions(includeExperimental: Bool, includeReference: Bool) -> [(version: String, supportsVideo: Bool)] {
|
||||
#if DEBUG
|
||||
if "".isEmpty {
|
||||
return [("5.0.0", true)]
|
||||
if @available(iOS 11.0, *) {
|
||||
#if DEBUG
|
||||
if "".isEmpty {
|
||||
return [("5.0.0", true)]
|
||||
}
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
if debugUseLegacyVersionForReflectors {
|
||||
return [(OngoingCallThreadLocalContext.version(), true)]
|
||||
|
Loading…
x
Reference in New Issue
Block a user