improve passcode

This commit is contained in:
Bob Sun 2017-02-08 14:53:07 +08:00
parent 97056ab91c
commit 9816e7677d
No known key found for this signature in database
GPG key ID: 1F86BA2052FED3B4
3 changed files with 10 additions and 10 deletions

View file

@ -155,6 +155,8 @@ class SettingsTableViewController: UITableViewController {
Defaults[.isTouchIDOn] = false
Globals.passcodeConfiguration.isTouchIDAllowed = false
}
let appDelegate = UIApplication.shared.delegate as! AppDelegate
appDelegate.passcodeLockPresenter = PasscodeLockPresenter(mainWindow: appDelegate.window, configuration: Globals.passcodeConfiguration)
}
func showPasscodeActionSheet() {