mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-02-07 14:18:25 +00:00
fix crash when editing a contact while no proxy config
This commit is contained in:
parent
5e8fb806bc
commit
c286b23450
1 changed files with 2 additions and 1 deletions
|
|
@ -56,7 +56,8 @@
|
|||
[NSString stringWithFormat:NSLocalizedString(@"Chat with %@", nil), _addressLabel.text];
|
||||
_callButton.accessibilityLabel = [NSString stringWithFormat:NSLocalizedString(@"Call %@", nil), _addressLabel.text];
|
||||
// Test presence
|
||||
Contact* contact = [FastAddressBook getContactWithAddress:(addr)];
|
||||
Contact *contact;
|
||||
contact = addr ? [FastAddressBook getContactWithAddress:(addr)] : NULL;
|
||||
|
||||
_linphoneImage.hidden = TRUE;
|
||||
if (contact) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue