mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
fix view: searchBar of ContactListView
This commit is contained in:
parent
d07a6e534b
commit
dce25fef43
1 changed files with 10 additions and 0 deletions
|
|
@ -122,6 +122,16 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[ContactSelection setNameOrEmailFilter:@""];
|
||||
_searchBar.showsCancelButton = (_searchBar.text.length > 0);
|
||||
|
||||
int y = _searchBar.frame.origin.y + _searchBar.frame.size.height;
|
||||
[tableController.tableView setFrame:CGRectMake(tableController.tableView.frame.origin.x,
|
||||
y,
|
||||
tableController.tableView.frame.size.width,
|
||||
tableController.tableView.frame.size.height)];
|
||||
[tableController.emptyView setFrame:CGRectMake(tableController.emptyView.frame.origin.x,
|
||||
y,
|
||||
tableController.emptyView.frame.size.width,
|
||||
tableController.emptyView.frame.size.height)];
|
||||
|
||||
if (tableController.isEditing) {
|
||||
tableController.editing = NO;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue