fix linphoneLogin button

This commit is contained in:
Danmei Chen 2019-03-07 10:41:30 +01:00
parent 47114c4c98
commit b7d1487eaf

View file

@ -1010,6 +1010,10 @@ static UICompositeViewDescription *compositeDescription = nil;
defaultAction.accessibilityLabel = @"PopUpResp";
[self presentViewController:errView animated:YES completion:nil];
}
// enable linphoneLoginButton if error
[_linphoneLoginButton setBackgroundColor:[UIColor clearColor]];
_linphoneLoginButton.enabled = YES;
}
- (void)isAccountUsed:(LinphoneAccountCreatorStatus)status withResp:(const char *)resp {
@ -1050,10 +1054,6 @@ static UICompositeViewDescription *compositeDescription = nil;
}
}
// enable linphoneLoginButton if error
[_linphoneLoginButton setBackgroundColor:[UIColor clearColor]];
_linphoneLoginButton.enabled = YES;
}
- (void) isAccountActivated:(const char *)resp {