mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
WIP
This commit is contained in:
parent
0d2cffb033
commit
46dad2eddc
12 changed files with 1001 additions and 112 deletions
|
|
@ -345,6 +345,8 @@ public final class ChatListSearchContainerNode: SearchDisplayControllerContentNo
|
|||
key = .channels
|
||||
case .apps:
|
||||
key = .apps
|
||||
case .globalPosts:
|
||||
key = .globalPosts
|
||||
case .media:
|
||||
key = .media
|
||||
case .downloads:
|
||||
|
|
@ -388,7 +390,7 @@ public final class ChatListSearchContainerNode: SearchDisplayControllerContentNo
|
|||
switch filter {
|
||||
case let .filter(filter):
|
||||
switch filter {
|
||||
case .downloads, .channels, .apps:
|
||||
case .downloads, .channels, .apps, .globalPosts:
|
||||
return false
|
||||
default:
|
||||
return true
|
||||
|
|
@ -675,6 +677,8 @@ public final class ChatListSearchContainerNode: SearchDisplayControllerContentNo
|
|||
filterKey = .channels
|
||||
case .apps:
|
||||
filterKey = .apps
|
||||
case .globalPosts:
|
||||
filterKey = .globalPosts
|
||||
case .media:
|
||||
filterKey = .media
|
||||
case .downloads:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue