1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-29 22:53:44 +00:00

isViewOpen returns promise

This commit is contained in:
Kyle Spearrin
2019-08-20 13:47:15 -04:00
parent 1f98a2ebcb
commit ae37c2198b
4 changed files with 5 additions and 5 deletions

View File

@@ -44,7 +44,7 @@ export class LockService implements LockServiceAbstraction {
}
async checkLock(): Promise<void> {
if (this.platformUtilsService.isViewOpen()) {
if (await this.platformUtilsService.isViewOpen()) {
// Do not lock
return;
}