not locked

This commit is contained in:
Kyle Spearrin 2019-02-17 21:16:49 -05:00
parent c37a52be85
commit 3e996ae9ad
1 changed files with 2 additions and 1 deletions

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;
}