No crash when to much number in countrycode

This commit is contained in:
REIS Benjamin 2016-10-14 10:25:43 +02:00
parent ffdca1eede
commit 04372218d9
4 changed files with 5 additions and 2 deletions

View file

@ -224,6 +224,7 @@ static UICompositeViewDescription *compositeDescription = nil;
case LinphoneAccountCreatorPhoneNumberNotUsed:
case LinphoneAccountCreatorPhoneNumberUsedAlias:
case LinphoneAccountCreatorPhoneNumberUsedAccount:
case LinphoneAccountCreatorErrorServer:
case LinphoneAccountCreatorOK:
break;
}

View file

@ -167,6 +167,7 @@ static UICompositeViewDescription *compositeDescription = nil;
case LinphoneAccountCreatorPhoneNumberNotUsed:
case LinphoneAccountCreatorPhoneNumberUsedAlias:
case LinphoneAccountCreatorPhoneNumberUsedAccount:
case LinphoneAccountCreatorErrorServer:
case LinphoneAccountCreatorOK:
break;
}

View file

@ -75,7 +75,8 @@
_contact = acontact;
if(_contact) {
[ContactDisplay setDisplayNameLabel:_nameLabel forContact:_contact];
_linphoneImage.hidden = ! ((_contact.friend && linphone_presence_model_get_basic_status(linphone_friend_get_presence_model(_contact.friend)) == LinphonePresenceBasicStatusOpen) || [FastAddressBook contactHasValidSipDomain:_contact]);
_linphoneImage.hidden =
! ((_contact.friend && linphone_presence_model_get_basic_status(linphone_friend_get_presence_model(_contact.friend)) == LinphonePresenceBasicStatusOpen) || [FastAddressBook contactHasValidSipDomain:_contact]);
}
}

@ -1 +1 @@
Subproject commit 8958eaa2b51b1203d406009495774b56d20d5f83
Subproject commit a56c6bb514eaf40876ea2d98ea16f23e608a48c5