mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
fix crash of null arrdess
This commit is contained in:
parent
2d0af97d23
commit
e57a36a950
1 changed files with 1 additions and 1 deletions
|
|
@ -303,7 +303,7 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
}
|
||||
cell.uri = _contacts[indexPath.row];
|
||||
LinphoneAddress *addr = linphone_address_new(cell.uri.UTF8String);
|
||||
cell.nameLabel.text = [FastAddressBook displayNameForAddress:addr];
|
||||
cell.nameLabel.text = (addr == nil? cell.uri : [FastAddressBook displayNameForAddress:addr]);
|
||||
[cell.avatarImage setImage:[FastAddressBook imageForAddress:addr] bordered:YES withRoundedRadius:YES];
|
||||
cell.controllerView = self;
|
||||
if(![_admins containsObject:cell.uri]) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue