mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 11:08:06 +00:00
keep fixing UI
This commit is contained in:
parent
ff4833b865
commit
7c253eb0ad
3 changed files with 9 additions and 6 deletions
|
|
@ -71,7 +71,10 @@
|
|||
}
|
||||
|
||||
- (void)reloadDataWithFilter:(NSString *)filter {
|
||||
[_contacts removeAllObjects];
|
||||
if (_contacts)
|
||||
[_contacts removeAllObjects];
|
||||
else
|
||||
_contacts = [[NSMutableDictionary alloc] initWithCapacity:_allContacts.count];
|
||||
|
||||
[_allContacts enumerateKeysAndObjectsUsingBlock:^(id key, id value, BOOL *stop) {
|
||||
NSString *address = (NSString *)key;
|
||||
|
|
|
|||
|
|
@ -74,6 +74,10 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
- (void)viewWillAppear:(BOOL)animated {
|
||||
[super viewWillAppear:animated];
|
||||
_waitView.hidden = YES;
|
||||
|
||||
if (_create)
|
||||
_room = NULL;
|
||||
|
||||
_nameLabel.text = _room && linphone_chat_room_get_subject(_room)
|
||||
? [NSString stringWithUTF8String:linphone_chat_room_get_subject(_room)]
|
||||
: @"";
|
||||
|
|
@ -112,10 +116,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
[_tableView reloadData];
|
||||
}
|
||||
|
||||
- (void)viewWillDisappear:(BOOL)animated {
|
||||
_room = NULL;
|
||||
}
|
||||
|
||||
#pragma mark - next functions
|
||||
|
||||
- (void)onCreate {
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit eb3fbf682d8d177807c84aaa4aecd869dc755fde
|
||||
Subproject commit 47cf1d436cdfff29a7b3cb0a4cbfc3a758d78240
|
||||
Loading…
Add table
Reference in a new issue