Show the lock screen placeholder on willResignActive. (#2086)

This commit is contained in:
Doug
2023-11-15 15:31:35 +00:00
committed by GitHub
parent 342feb4113
commit 0b9da83470
10 changed files with 164 additions and 65 deletions
@@ -111,8 +111,8 @@ class AppLockService: AppLockServiceProtocol {
timer.applicationDidEnterBackground()
}
func computeNeedsUnlock(willEnterForegroundAt date: Date) -> Bool {
timer.computeLockState(willEnterForegroundAt: date)
func computeNeedsUnlock(didBecomeActiveAt date: Date) -> Bool {
timer.computeLockState(didBecomeActiveAt: date)
}
func unlock(with pinCode: String) -> Bool {