mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-19 08:03:50 +02:00
MESSENGER fix some merge issues
This commit is contained in:
@@ -268,8 +268,8 @@ final class EnterPinCodeViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func renderPinsDontMatch() {
|
||||
let error = MXKErrorViewModel(title: NSLocalizedString("pin_protection_mismatch_error_title", tableName: "Vector", comment: ""),
|
||||
message: NSLocalizedString("pin_protection_mismatch_error_message", tableName: "Vector", comment: ""))
|
||||
let error = MXKErrorViewModel(title: VectorL10n.pinProtectionMismatchErrorTitle,
|
||||
message: VectorL10n.pinProtectionMismatchErrorMessage)
|
||||
|
||||
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
|
||||
self.errorPresenter.presentError(from: self, for: error, animated: true) {
|
||||
@@ -298,19 +298,19 @@ final class EnterPinCodeViewController: UIViewController {
|
||||
}
|
||||
|
||||
private func renderWrongPinTooManyTimes() {
|
||||
let error = MXKErrorViewModel(title: NSLocalizedString("pin_protection_mismatch_error_title", tableName: "Vector", comment: ""),
|
||||
message: NSLocalizedString("pin_protection_mismatch_too_many_times_error_message", tableName: "Vector", comment: ""))
|
||||
let error = MXKErrorViewModel(title: VectorL10n.pinProtectionMismatchErrorTitle,
|
||||
message: VectorL10n.pinProtectionMismatchTooManyTimesErrorMessage)
|
||||
|
||||
self.activityPresenter.removeCurrentActivityIndicator(animated: true)
|
||||
self.errorPresenter.presentError(from: self, for: error, animated: true, handler: nil)
|
||||
}
|
||||
|
||||
private func renderForgotPin() {
|
||||
let controller = UIAlertController(title: NSLocalizedString("pin_protection_reset_alert_title", tableName: "Vector", comment: ""),
|
||||
message: NSLocalizedString("pin_protection_reset_alert_message", tableName: "Vector", comment: ""),
|
||||
let controller = UIAlertController(title: VectorL10n.pinProtectionResetAlertTitle,
|
||||
message: VectorL10n.pinProtectionResetAlertMessage,
|
||||
preferredStyle: .alert)
|
||||
|
||||
let resetAction = UIAlertAction(title: NSLocalizedString("pin_protection_reset_alert_action_reset", tableName: "Vector", comment: ""), style: .default) { (_) in
|
||||
let resetAction = UIAlertAction(title: VectorL10n.pinProtectionResetAlertActionReset, style: .default) { (_) in
|
||||
self.viewModel.process(viewAction: .forgotPinAlertResetAction)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user