diff --git a/Classes/AssistantView.h b/Classes/AssistantView.h index 3d192369a..d1bb634f1 100644 --- a/Classes/AssistantView.h +++ b/Classes/AssistantView.h @@ -40,6 +40,7 @@ @property(nonatomic, strong) IBOutlet TPKeyboardAvoidingScrollView *contentView; @property(nonatomic, strong) IBOutlet UIView *waitView; @property(nonatomic, strong) IBOutlet UIButton *backButton; +@property (weak, nonatomic) IBOutlet UIButton *infoLoginButton; @property(nonatomic, strong) IBOutlet UIView *welcomeView; @property(nonatomic, strong) IBOutlet UIView *createAccountView; diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index 8673f68fa..b2b514d17 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -1035,6 +1035,8 @@ void assistant_is_account_activated(LinphoneAccountCreator *creator, LinphoneAcc UIView * emailView = [self findView:ViewElement_EmailFormView inView:self.contentView ofType:UIView.class]; usernameView.hidden = !usernameSwitch.isOn && !emailSwitch.isOn; emailView.hidden = !emailSwitch.isOn; + self.infoLoginButton.hidden = !usernameView.hidden; + UIAssistantTextField* countryCodeField = [self findTextField:ViewElement_PhoneCC]; UIRoundBorderedButton *phoneButton = [self findButton:ViewElement_PhoneButton]; diff --git a/Classes/Base.lproj/AssistantViewScreens.xib b/Classes/Base.lproj/AssistantViewScreens.xib index 8fa5c1000..114429641 100644 --- a/Classes/Base.lproj/AssistantViewScreens.xib +++ b/Classes/Base.lproj/AssistantViewScreens.xib @@ -20,6 +20,7 @@ + @@ -562,6 +563,7 @@ + @@ -698,7 +700,7 @@ Once it is done, come back here and click on the button. - +