mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-03 06:55:59 +00:00
drop iOS 17 and removed all #available and #unavaible checks for 17 and 18
This commit is contained in:
@@ -119,14 +119,9 @@ class RoomSummaryProvider: RoomSummaryProviderProtocol {
|
||||
}
|
||||
|
||||
func setFilter(_ filter: RoomSummaryProviderFilter) {
|
||||
let baseFilter: [RoomListEntriesDynamicFilterKind] = if #available(iOS 18.0, *) {
|
||||
[.any(filters: [.all(filters: [.nonSpace, .nonLeft]),
|
||||
.all(filters: [.space, .invite])]),
|
||||
.deduplicateVersions]
|
||||
} else {
|
||||
// Don't show space invites on iOS 17 given that the tab bar is disabled due to glitches on iPad.
|
||||
[.nonLeft, .nonSpace, .deduplicateVersions]
|
||||
}
|
||||
let baseFilter: [RoomListEntriesDynamicFilterKind] = [.any(filters: [.all(filters: [.nonSpace, .nonLeft]),
|
||||
.all(filters: [.space, .invite])]),
|
||||
.deduplicateVersions]
|
||||
|
||||
switch filter {
|
||||
case .excludeAll:
|
||||
|
||||
Reference in New Issue
Block a user