Move passcode lock to framework
This commit is contained in:
parent
639cd123cb
commit
7cf628638b
5 changed files with 34 additions and 42 deletions
|
|
@ -169,7 +169,7 @@ class SettingsTableViewController: UITableViewController {
|
|||
}
|
||||
|
||||
private func setPasscodeLockTouchIDCells() {
|
||||
if PasscodeLockRepository().hasPasscode {
|
||||
if PasscodeLockConfiguration.shared.repository.hasPasscode {
|
||||
self.passcodeTableViewCell.detailTextLabel?.text = "On"
|
||||
passcodeLockConfig.isTouchIDAllowed = true
|
||||
touchIDSwitch.isOn = SharedDefaults[.isTouchIDOn]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue