|
|
@ -74,9 +74,9 @@ extension ChangePersonalInformationViewController: ChangePersonalInformationView |
|
|
|
func successProfileValidationOTP() { |
|
|
|
self.alertWithOk( |
|
|
|
type: .success, |
|
|
|
message: "Verification is all completed", |
|
|
|
title: "Will change your personal information", |
|
|
|
okTitle: "OK" |
|
|
|
message: "verification_completed_title_text".localized(), |
|
|
|
title: "will_change_your_personal_information_title_text".localized(), |
|
|
|
okTitle: "ok_text".localized() |
|
|
|
) { |
|
|
|
if let newValue = self.changeInformationTextField.text { |
|
|
|
self.presenter?.changeProfileInformation(newValue: newValue, target: self.target ?? "") |
|
|
@ -90,9 +90,9 @@ extension ChangePersonalInformationViewController: ChangePersonalInformationView |
|
|
|
|
|
|
|
self.alertWithOk( |
|
|
|
type: .success, |
|
|
|
message: "Will prceed to check OTP", |
|
|
|
title: "Successfully verify password", |
|
|
|
okTitle: "OK" |
|
|
|
message: "will_proceed_to_check_otp_title_text".localized(), |
|
|
|
title: "successfully_verified_password_title_text".localized(), |
|
|
|
okTitle: "ok_text".localized() |
|
|
|
) { |
|
|
|
if let newValue = self.changeInformationTextField.text { |
|
|
|
self.presenter?.openOTP(newValue: newValue) |
|
|
@ -132,15 +132,18 @@ extension ChangePersonalInformationViewController { |
|
|
|
switch type { |
|
|
|
|
|
|
|
case .mobile: |
|
|
|
navigationItem.title = "Change your phonenumber" |
|
|
|
navigationItem.title = "change_your_phonenumber_title_text".localized() |
|
|
|
changeDescriptionLabel.text = "change_your_phonenumber_instruction_text".localized() |
|
|
|
whatToChangeLabel.text = "new_phonenumber_text".localized() |
|
|
|
changeInformationTextField.placeholder = "enter_your_new_phonenumber_text".localized() |
|
|
|
|
|
|
|
case .email: |
|
|
|
|
|
|
|
changeInformationTextField.keyboardType = .emailAddress |
|
|
|
navigationItem.title = "Change your e-mail" |
|
|
|
changeDescriptionLabel.text = "To change E-mail, fill in the blank below" |
|
|
|
whatToChangeLabel.text = "New E-mail" |
|
|
|
changeInformationTextField.placeholder = "Enter your New E-mail Address" |
|
|
|
navigationItem.title = "change_your_email_title_text".localized() |
|
|
|
changeDescriptionLabel.text = "change_your_email_instruction_text".localized() |
|
|
|
whatToChangeLabel.text = "new_email_text".localized() |
|
|
|
changeInformationTextField.placeholder = "enter_your_new_email_text".localized() |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
@ -224,8 +227,8 @@ extension ChangePersonalInformationViewController: BiometricAuthenticationViewCo |
|
|
|
authenticationButton button: UIButton |
|
|
|
) { |
|
|
|
// titleLabel.text = "bio_sendmoney_intro_text".localized() |
|
|
|
titleLabel.text = "Check biometricAuthentication" |
|
|
|
titleLabel.text = "use_biometric_authentication_text".localized() |
|
|
|
// button.setTitle("send_money_text".localized(), for: .normal) |
|
|
|
button.setTitle("Confirm", for: .normal) |
|
|
|
button.setTitle("verify_account_button_text".localized(), for: .normal) |
|
|
|
} |
|
|
|
} |