mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-30 18:00:34 +00:00
check swift version properly [skip ci]
This commit is contained in:
@@ -491,7 +491,7 @@ private func requestChatListFilters(postbox: Postbox, network: Network) -> Signa
|
||||
)
|
||||
|> castError(RequestChatListFiltersError.self)
|
||||
|> mapToSignal { _ -> Signal<[ChatListFilter], RequestChatListFiltersError> in
|
||||
#if swift(<5)
|
||||
#if swift(<5.1)
|
||||
return .complete()
|
||||
#endif
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user