fix bugs of the passcode function
This commit is contained in:
parent
a31e9776fe
commit
f14c4662cb
6 changed files with 22 additions and 13 deletions
|
|
@ -8,12 +8,13 @@
|
|||
|
||||
import Foundation
|
||||
import PasscodeLock
|
||||
import SwiftyUserDefaults
|
||||
|
||||
struct PasscodeLockConfiguration: PasscodeLockConfigurationType {
|
||||
|
||||
let repository: PasscodeRepositoryType
|
||||
let passcodeLength = 4
|
||||
var isTouchIDAllowed = false
|
||||
var isTouchIDAllowed = Defaults[.isTouchIDOn]
|
||||
let shouldRequestTouchIDImmediately = true
|
||||
let maximumInccorectPasscodeAttempts = 3
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue