mirror of
https://github.com/TelegramMessenger/Telegram-iOS.git
synced 2026-07-06 03:33:41 +02:00
Various improvements
This commit is contained in:
parent
fa93715135
commit
f720277d29
19 changed files with 851 additions and 631 deletions
|
|
@ -570,6 +570,12 @@ public final class ChatListSearchContainerNode: SearchDisplayControllerContentNo
|
|||
self.selectionPanelNode?.selectedMessages = self.stateValue.selectedMessageIds ?? []
|
||||
}
|
||||
|
||||
public func removeAds() {
|
||||
for pane in self.paneContainerNode.currentPanes.values {
|
||||
pane.node.removeAds()
|
||||
}
|
||||
}
|
||||
|
||||
private var currentSearchOptions: ChatListSearchOptions {
|
||||
return self.searchOptionsValue ?? ChatListSearchOptions(peer: nil, date: nil)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue