1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-23 11:56:00 +01:00

not locked

This commit is contained in:
Kyle Spearrin 2019-02-17 21:16:49 -05:00
parent c37a52be85
commit 3e996ae9ad

View File

@ -185,7 +185,8 @@ export class NotificationsService implements NotificationsServiceAbstraction {
private async isAuthedAndUnlocked() {
if (await this.userService.isAuthenticated()) {
return this.lockService.isLocked();
const locked = await this.lockService.isLocked();
return !locked;
}
return false;
}