mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-20 16:42:44 +02:00
Fix the footer when searching from StartChatViewController.
This commit is contained in:
@@ -702,6 +702,15 @@
|
||||
- (void)searchBar:(UISearchBar *)searchBar textDidChange:(NSString *)searchText
|
||||
{
|
||||
[contactsDataSource searchWithPattern:searchText forceReset:NO];
|
||||
|
||||
if (searchText.length && !self.contactsAreFilteredWithSearch)
|
||||
{
|
||||
self.contactsAreFilteredWithSearch = YES;
|
||||
}
|
||||
else if (!searchText.length && self.contactsAreFilteredWithSearch)
|
||||
{
|
||||
self.contactsAreFilteredWithSearch = NO;
|
||||
}
|
||||
}
|
||||
|
||||
- (BOOL)searchBarShouldBeginEditing:(UISearchBar *)searchBar
|
||||
|
||||
Reference in New Issue
Block a user