fix bugs of the passcode function
This commit is contained in:
parent
a31e9776fe
commit
f14c4662cb
6 changed files with 22 additions and 13 deletions
|
|
@ -28,7 +28,6 @@ public class PasscodeLockRepository: PasscodeRepositoryType {
|
|||
|
||||
public func save(passcode: String) {
|
||||
Defaults[.passcodeKey] = passcode
|
||||
print(passcode)
|
||||
}
|
||||
|
||||
public func check(passcode: String) -> Bool {
|
||||
|
|
@ -37,6 +36,5 @@ public class PasscodeLockRepository: PasscodeRepositoryType {
|
|||
|
||||
public func delete() {
|
||||
Defaults[.passcodeKey] = nil
|
||||
print("delete")
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue