mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Add inline search results
This commit is contained in:
@@ -398,7 +398,7 @@ func updateChatPresentationInterfaceStateImpl(
|
||||
}
|
||||
|
||||
if updatedChatPresentationInterfaceState.displayHistoryFilterAsList {
|
||||
if updatedChatPresentationInterfaceState.search == nil || updatedChatPresentationInterfaceState.historyFilter == nil {
|
||||
if updatedChatPresentationInterfaceState.search?.resultsState == nil && updatedChatPresentationInterfaceState.historyFilter == nil && !selfController.alwaysShowSearchResultsAsList {
|
||||
updatedChatPresentationInterfaceState = updatedChatPresentationInterfaceState.updatedDisplayHistoryFilterAsList(false)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user