This commit is contained in:
Mo Bitar
2020-02-09 16:46:12 -06:00
parent 1a87df0db8
commit 1497048c72
16 changed files with 307 additions and 210 deletions

View File

@@ -98,7 +98,7 @@ export class LockManager {
this.lockAfterDate &&
new Date() > this.lockAfterDate
) {
this.application.passcodeLock();
this.application.lock();
}
this.cancelAutoLockTimer();
} else {
@@ -125,7 +125,7 @@ export class LockManager {
this.lockAfterDate = addToNow(interval / MILLISECONDS_PER_SECOND);
this.lockTimeout = setTimeout(() => {
this.cancelAutoLockTimer();
this.application.passcodeLock();
this.application.lock();
this.lockAfterDate = null;
}, interval);
}