Add inline search results

This commit is contained in:
Isaac
2024-01-30 10:08:46 +01:00
parent 4ffc6367bb
commit d3bfd68386
13 changed files with 429 additions and 74 deletions

View File

@@ -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)
}
}