From ff14c18f1cc47724a1cf369cf96af4d7a5da4744 Mon Sep 17 00:00:00 2001 From: QuentinArguillere Date: Tue, 21 Jun 2022 18:25:15 +0200 Subject: [PATCH] Fix GUI when remote provisioning fails due to the user already having accounts --- Classes/AssistantView.m | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index dcde898a8..838ce01b0 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -1584,10 +1584,11 @@ UIColor *previousColor = (UIColor*)[sender backgroundColor]; \ UIAlertAction* defaultAction = [UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault - handler:^(UIAlertAction * action) {}]; + handler:^(UIAlertAction * action) {}]; [errView addAction:defaultAction]; [self presentViewController:errView animated:YES completion:nil]; + _waitView.hidden = TRUE; } else { linphone_core_set_provisioning_uri(LC, [self addSchemeToProvisiionninUriIMissing:[self findTextField:ViewElement_URL].text].UTF8String); [self resetLiblinphone:TRUE];