mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-06 21:33:08 +00:00
fix bug if only one account
This commit is contained in:
parent
ab2cfbe1e6
commit
68a0655d5f
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue