mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-17 02:58:07 +00:00
fix create phone number account error display
This commit is contained in:
parent
e57a36a950
commit
a51bee7786
1 changed files with 0 additions and 4 deletions
|
|
@ -718,10 +718,6 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
account_creator, inputEntry.length > 0 ? inputEntry.UTF8String : NULL, prefix.UTF8String);
|
||||
if (s != LinphoneAccountCreatorPhoneNumberStatusOk) {
|
||||
linphone_account_creator_set_phone_number(account_creator, NULL, NULL);
|
||||
// if phone is empty and username is empty, this is wrong
|
||||
if (linphone_account_creator_get_username(account_creator) == NULL) {
|
||||
s = LinphoneAccountCreatorPhoneNumberStatusTooShort;
|
||||
}
|
||||
}
|
||||
|
||||
createPhone.errorLabel.text = [AssistantView errorForLinphoneAccountCreatorPhoneNumberStatus:s];
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue