Skip to content
This repository has been archived by the owner on Jun 17, 2022. It is now read-only.

Commit

Permalink
not locked
Browse files Browse the repository at this point in the history
  • Loading branch information
kspearrin committed Feb 18, 2019
1 parent c37a52b commit 3e996ae
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/services/notifications.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit 3e996ae

Please sign in to comment.