                         }
                     } else {
                         DispatchQueue.main.async {
-                            Utils.alert(title: "Error".localize(), message: error?.localizedDescription ?? "", controller: self, completion: nil)
+                            Utils.alert(title: "Error".localize(), message: error?.localizedDescription ?? "", controller: self)
                         }
                     }
                 }

        view.addGestureRecognizer(tap)
    }

    override open func viewDidLoad() {
        super.viewDidLoad()
    }

    override open func viewDidAppear(_ animated: Bool) {
        super.viewDidAppear(animated)
        if let biometryAuthButton = biometryAuthButton {

        alert.addAction(
            UIAlertAction(title: "ErasePasswordStoreData".localize(), style: UIAlertAction.Style.destructive) { [unowned self] _ -> Void in
                let myContext = LAContext()
                // If the device passcode is not set, reset the app.
                guard myContext.canEvaluatePolicy(.deviceOwnerAuthentication, error: nil)else {
                    self.passwordStore.erase()
                    self.passcodeLockDidSucceed()
                    return
