contacts: fallback to all contacts if user has no linphone friends

This commit is contained in:
Gautier Pelloux-Prayer 2016-01-19 13:56:38 +01:00
parent 12d78b8603
commit 24d485e752

View file

@ -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 {