mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-01-27 07:59:20 +00:00
[CountryCodeInvalid] manage InvalidCountryCode status
This commit is contained in:
parent
7d86b9bd88
commit
e68d7d2fd5
2 changed files with 4 additions and 0 deletions
|
|
@ -177,6 +177,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
|
||||
+ (NSString *)errorForStatus:(LinphoneAccountCreatorStatus)status {
|
||||
switch (status) {
|
||||
case LinphoneAccountCreatorCountryCodeInvalid:
|
||||
return NSLocalizedString(@"Invalid country code.", nil);
|
||||
case LinphoneAccountCreatorEmailInvalid:
|
||||
return NSLocalizedString(@"Invalid email.", nil);
|
||||
case LinphoneAccountCreatorUsernameInvalid:
|
||||
|
|
|
|||
|
|
@ -119,6 +119,8 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
+ (NSString *)errorForStatus:(LinphoneAccountCreatorStatus)status {
|
||||
BOOL usePhoneNumber = [[LinphoneManager instance] lpConfigBoolForKey:@"use_phone_number" inSection:@"assistant"];
|
||||
switch (status) {
|
||||
case LinphoneAccountCreatorCountryCodeInvalid:
|
||||
return NSLocalizedString(@"Invalid country code.", nil);
|
||||
case LinphoneAccountCreatorEmailInvalid:
|
||||
return NSLocalizedString(@"Invalid email.", nil);
|
||||
case LinphoneAccountCreatorUsernameInvalid:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue