Run updated SwiftFormat

This commit is contained in:
Danny Moesch 2020-12-18 10:03:47 +01:00 committed by Mingshen Sun
parent a49f0ee5e0
commit 1a8692bde3
6 changed files with 11 additions and 11 deletions

View file

@ -192,7 +192,7 @@ open class PasscodeLockViewController: UIViewController, UITextFieldDelegate {
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 {
guard myContext.canEvaluatePolicy(.deviceOwnerAuthentication, error: nil) else {
self.passwordStore.erase()
self.passcodeLockDidSucceed()
return