Fix the Touch ID setting of passcode lock

- Disable Touch ID alone does not work before this commit.
This commit is contained in:
Yishi Lin 2017-09-18 00:48:09 +08:00
parent 611dd39131
commit 81af389a07
2 changed files with 7 additions and 5 deletions

View file

@ -16,6 +16,7 @@ public struct PasscodeLockConfiguration: PasscodeLockConfigurationType {
public let repository: PasscodeRepositoryType
public let passcodeLength = 4
public var isTouchIDAllowed = SharedDefaults[.isTouchIDOn]
public let shouldRequestTouchIDImmediately = true
public let maximumInccorectPasscodeAttempts = 3