diff --git a/Classes/AssistantView.h b/Classes/AssistantView.h index be182eff9..0c912a50c 100644 --- a/Classes/AssistantView.h +++ b/Classes/AssistantView.h @@ -59,6 +59,7 @@ @property(nonatomic, strong) IBOutlet UIButton *gotoRemoteProvisioningButton; @property (weak, nonatomic) IBOutlet UILabel *phoneLabel; @property (weak, nonatomic) IBOutlet UILabel *phoneTitle; +@property (weak, nonatomic) IBOutlet UILabel *activationTitle; @property (weak, nonatomic) IBOutlet UILabel *accountLabel; @property (weak, nonatomic) IBOutlet NSLayoutConstraint *createAccountNextButtonPositionConstraint; diff --git a/Classes/AssistantView.m b/Classes/AssistantView.m index 2a80a610f..f6a206316 100644 --- a/Classes/AssistantView.m +++ b/Classes/AssistantView.m @@ -1031,7 +1031,8 @@ void assistant_is_account_linked(LinphoneAccountCreator *creator, LinphoneAccoun - (IBAction)onGotoCreateAccountClick:(id)sender { ONCLICKBUTTON(sender, 100, { - nextView = _createAccountView; + nextView = _createAccountView; + _accountLabel.text = NSLocalizedString(@"Please enter your phone number", nil); [self loadAssistantConfig:@"assistant_linphone_create.rc"]; }); } @@ -1062,6 +1063,7 @@ void assistant_is_account_linked(LinphoneAccountCreator *creator, LinphoneAccoun - (IBAction)onCreateAccountClick:(id)sender { if ([self checkFields]) { ONCLICKBUTTON(sender, 100, { + _activationTitle.text = @"CREATE ACCOUNT"; _waitView.hidden = NO; linphone_account_creator_is_account_used(account_creator); }); @@ -1103,7 +1105,7 @@ void assistant_is_account_linked(LinphoneAccountCreator *creator, LinphoneAccoun - (IBAction)onLinphoneLoginClick:(id)sender { ONCLICKBUTTON(sender, 100, { _waitView.hidden = NO; - + _activationTitle.text = @"USE LINPHONE ACCOUNT"; if ((linphone_account_creator_get_phone_number(account_creator) != NULL) && linphone_account_creator_get_password(account_creator) == NULL && linphone_account_creator_get_ha1(account_creator) == NULL) { diff --git a/Classes/Base.lproj/AssistantLinkView.xib b/Classes/Base.lproj/AssistantLinkView.xib index d975d6ca8..9539580a2 100644 --- a/Classes/Base.lproj/AssistantLinkView.xib +++ b/Classes/Base.lproj/AssistantLinkView.xib @@ -1,5 +1,5 @@ - - + + @@ -178,7 +178,7 @@ - + diff --git a/Classes/Base.lproj/AssistantViewScreens.xib b/Classes/Base.lproj/AssistantViewScreens.xib index 6deac9e45..843209c21 100644 --- a/Classes/Base.lproj/AssistantViewScreens.xib +++ b/Classes/Base.lproj/AssistantViewScreens.xib @@ -1,5 +1,5 @@ - - + + @@ -13,6 +13,7 @@ +