forked from mirrors/linphone-iphone
contacts: fallback to all contacts if user has no linphone friends
This commit is contained in:
parent
12d78b8603
commit
24d485e752
1 changed files with 3 additions and 0 deletions
|
|
@ -111,6 +111,9 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
- (void)viewDidLoad {
|
||||
[super viewDidLoad];
|
||||
[self changeView:ContactsLinphone];
|
||||
if ([tableController totalNumberOfItems] == 0) {
|
||||
[self changeView:ContactsAll];
|
||||
}
|
||||
}
|
||||
|
||||
- (void)viewWillAppear:(BOOL)animated {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue