|
|
@ -910,8 +910,9 @@ NSString *const kArchivedConversationsReuseIdentifier = @"kArchivedConversations
|
|
|
|
{
|
|
|
|
{
|
|
|
|
OWSAssertIsOnMainThread();
|
|
|
|
OWSAssertIsOnMainThread();
|
|
|
|
|
|
|
|
|
|
|
|
[self.searchResultsController updateSearchResultsWithSearchText:self.searchBar.text];
|
|
|
|
NSString *searchText = self.searchBar.text.ows_stripped;
|
|
|
|
BOOL isSearching = self.searchBar.text.length > 0;
|
|
|
|
[self.searchResultsController updateSearchResultsWithSearchText:searchText];
|
|
|
|
|
|
|
|
BOOL isSearching = searchText.length > 0;
|
|
|
|
self.searchResultsController.view.hidden = !isSearching;
|
|
|
|
self.searchResultsController.view.hidden = !isSearching;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|