Handle renamed PIN alert string. (#3024)

This commit is contained in:
Doug
2024-07-11 09:18:32 +01:00
committed by GitHub
parent ae797a0c59
commit c0e704ce1d
23 changed files with 72 additions and 49 deletions

View File

@@ -132,8 +132,8 @@ class AppLockSetupPINScreenViewModel: AppLockSetupPINScreenViewModelType, AppLoc
switch alertType {
case .weakPIN:
state.bindings.alertInfo = .init(id: alertType,
title: L10n.screenAppLockSetupPinBlacklistedDialogTitle,
message: L10n.screenAppLockSetupPinBlacklistedDialogContent,
title: L10n.screenAppLockSetupPinForbiddenDialogTitle,
message: L10n.screenAppLockSetupPinForbiddenDialogContent,
primaryButton: .init(title: L10n.actionOk) { self.state.bindings.pinCode = "" })
case .pinMismatch:
state.numberOfConfirmAttempts += 1