Browse Source

fix

Signed-off-by: Marino Faggiana <8616947+marinofaggiana@users.noreply.github.com>
Marino Faggiana 1 year ago
parent
commit
76dc0e4ed9
1 changed files with 2 additions and 2 deletions
  1. 2 2
      iOSClient/AppDelegate.swift

+ 2 - 2
iOSClient/AppDelegate.swift

@@ -849,10 +849,10 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD
                 passcodeViewController.passcodeView.resetPasscode(animated: true, playImpact: false)
                 passcodeViewController.passcodeView.resetPasscode(animated: true, playImpact: false)
                 passcodeViewController.setContentHidden(true, animated: true)
                 passcodeViewController.setContentHidden(true, animated: true)
 
 
-                let alertController = UIAlertController(title: NSLocalizedString("_failes_attemps_reset_", comment: ""), message: nil, preferredStyle: .alert)
+                let alertController = UIAlertController(title: NSLocalizedString("_reset_wrong_passcode_", comment: ""), message: nil, preferredStyle: .alert)
                 passcodeViewController.present(alertController, animated: true, completion: { })
                 passcodeViewController.present(alertController, animated: true, completion: { })
 
 
-                DispatchQueue.main.asyncAfter(deadline: .now() + 4) {
+                DispatchQueue.main.asyncAfter(deadline: .now() + 3) {
                     self.resetApplication()
                     self.resetApplication()
                 }
                 }