mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 22:55:00 +00:00
Various improvements
This commit is contained in:
@@ -289,7 +289,7 @@ class WebSearchControllerNode: ASDisplayNode {
|
||||
entries.append(WebSearchRecentQueryEntry(index: i, query: queries[i]))
|
||||
}
|
||||
|
||||
let header = ChatListSearchItemHeader(type: .recentPeers, theme: interfaceState.presentationData.theme, strings: interfaceState.presentationData.strings, actionTitle: interfaceState.presentationData.strings.WebSearch_RecentSectionClear, action: {
|
||||
let header = ChatListSearchItemHeader(type: .recentPeers, theme: interfaceState.presentationData.theme, strings: interfaceState.presentationData.strings, actionTitle: interfaceState.presentationData.strings.WebSearch_RecentSectionClear, action: { _ in
|
||||
let _ = clearRecentWebSearchQueries(engine: strongSelf.context.engine).start()
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user