forked from mirrors/linphone-iphone
ui fix
This commit is contained in:
parent
7cfd81e4eb
commit
07dde50090
1 changed files with 1 additions and 12 deletions
|
|
@ -33,13 +33,13 @@
|
|||
return [[first.firstName lowercaseString] compare:[second.firstName lowercaseString]];
|
||||
}];
|
||||
|
||||
_contacts = [[NSMutableDictionary alloc] initWithCapacity:_sortedAddresses.count];
|
||||
if(_notFirstTime) {
|
||||
for(NSString *addr in _contactsGroup) {
|
||||
[_collectionView registerClass:UIChatCreateCollectionViewCell.class forCellWithReuseIdentifier:addr];
|
||||
}
|
||||
return;
|
||||
}
|
||||
_contacts = [[NSMutableDictionary alloc] initWithCapacity:_sortedAddresses.count];
|
||||
_contactsGroup = [[NSMutableArray alloc] init];
|
||||
_allFilter = TRUE;
|
||||
|
||||
|
|
@ -58,17 +58,6 @@
|
|||
|
||||
}
|
||||
completion:nil];
|
||||
} else {
|
||||
[UIView animateWithDuration:0
|
||||
delay:0
|
||||
options:UIViewAnimationOptionCurveEaseOut
|
||||
animations:^{
|
||||
[self.tableView setFrame:CGRectMake(self.tableView.frame.origin.x,
|
||||
_searchBar.frame.origin.y + _searchBar.frame.size.height,
|
||||
self.tableView.frame.size.width,
|
||||
self.tableView.frame.size.height + _collectionView.frame.size.height)];
|
||||
}
|
||||
completion:nil];
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue