Update of the proeprty.

pull/2/head
Oleg Gordiichuk 7 years ago committed by Michael Scoff
parent 83700e0c69
commit e7a9c7fd75
  1. 2
      Trust/Lock/Lock.swift

@ -35,6 +35,6 @@ class Lock {
func recordIncorrectPasscodeAttempt() {
var numberOfAttemptsSoFar = standardDefaults.integer(forKey: passcodeAttempts)
numberOfAttemptsSoFar += 1
standardDefaults.set(passcodeAttempts, forKey: passcodeAttempts)
standardDefaults.set(numberOfAttemptsSoFar, forKey: passcodeAttempts)
}
}

Loading…
Cancel
Save