fix bugs
This commit is contained in:
parent
141bae7bf2
commit
364ee6c1c8
1 changed files with 2 additions and 0 deletions
|
|
@ -168,6 +168,8 @@ class SettingsTableViewController: UITableViewController {
|
|||
passcodeRemoveViewController.successCallback = { _ in
|
||||
self.passcodeTableViewCell.detailTextLabel?.text = "Off"
|
||||
self.touchIDSwitch.isEnabled = false
|
||||
let appDelegate = UIApplication.shared.delegate as! AppDelegate
|
||||
appDelegate.passcodeLockPresenter = PasscodeLockPresenter(mainWindow: appDelegate.window, configuration: Globals.passcodeConfiguration)
|
||||
}
|
||||
self.present(passcodeRemoveViewController, animated: true, completion: nil)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue