Fix tabbar tapping double tapping issue
This commit is contained in:
parent
7e5d286065
commit
4f74632789
2 changed files with 6 additions and 2 deletions
|
|
@ -136,7 +136,6 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele
|
|||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
tabBarController!.delegate = self
|
||||
NotificationCenter.default.addObserver(self, selector: #selector(SettingsTableViewController.actOnPasswordStoreErasedNotification), name: .passwordStoreErased, object: nil)
|
||||
self.passwordRepositoryTableViewCell.detailTextLabel?.text = SharedDefaults[.gitURL]?.host
|
||||
touchIDTableViewCell.accessoryView = touchIDSwitch
|
||||
|
|
@ -145,6 +144,11 @@ class SettingsTableViewController: UITableViewController, UITabBarControllerDele
|
|||
setPasscodeLockTouchIDCells()
|
||||
}
|
||||
|
||||
override func viewWillAppear(_ animated: Bool) {
|
||||
super.viewWillAppear(true)
|
||||
tabBarController!.delegate = self
|
||||
}
|
||||
|
||||
private func hasTouchID() -> Bool {
|
||||
let context = LAContext()
|
||||
var error: NSError?
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue