mirror of
https://gitlab.linphone.org/BC/public/linphone-iphone.git
synced 2026-05-03 20:46:28 +00:00
Fix assistant issues
This commit is contained in:
parent
5aa78fb14b
commit
c87e86c51c
2 changed files with 7 additions and 3 deletions
|
|
@ -859,7 +859,11 @@ static UICompositeViewDescription *compositeDescription = nil;
|
|||
_outgoingView = AssistantLinkView.compositeViewDescription;
|
||||
[self configureProxyConfig];
|
||||
} else {
|
||||
[self showErrorPopup:resp];
|
||||
if (linphone_account_creator_get_username(account_creator) && strcmp(resp, "ERROR_ACCOUNT_DOESNT_EXIST")) {
|
||||
[self showErrorPopup:"ERROR_BAD_CREDENTIALS"];
|
||||
} else {
|
||||
[self showErrorPopup:resp];
|
||||
}
|
||||
}
|
||||
} else {
|
||||
if (status == LinphoneAccountCreatorAccountExist || status == LinphoneAccountCreatorAccountExistWithAlias) {
|
||||
|
|
|
|||
|
|
@ -182,8 +182,8 @@
|
|||
LinphoneRegistrationState state = LinphoneRegistrationNone;
|
||||
NSString *message = nil;
|
||||
LinphoneGlobalState gstate = linphone_core_get_global_state(LC);
|
||||
|
||||
if ([PhoneMainView.instance.currentView equal:AssistantView.compositeViewDescription]) {
|
||||
|
||||
if ([PhoneMainView.instance.currentView equal:AssistantView.compositeViewDescription] || [PhoneMainView.instance.currentView equal:CountryListView.compositeViewDescription]) {
|
||||
message = NSLocalizedString(@"Configuring account", nil);
|
||||
} else if (gstate == LinphoneGlobalOn && !linphone_core_is_network_reachable(LC)) {
|
||||
message = NSLocalizedString(@"Network down", nil);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue