fix bug if only one account

This commit is contained in:
Gautier Pelloux-Prayer 2015-09-09 14:28:32 +02:00
parent ab2cfbe1e6
commit 68a0655d5f

View file

@ -58,7 +58,7 @@
#pragma mark - Table View Controller
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView {
return ms_list_size(linphone_core_get_proxy_config_list([LinphoneManager getLc])) > 1 ? 2 : 1;
return 2;
}
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {