From 3e996ae9adf309f3ee4398630299fb0ab5312f9c Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Sun, 17 Feb 2019 21:16:49 -0500 Subject: [PATCH] not locked --- src/services/notifications.service.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/services/notifications.service.ts b/src/services/notifications.service.ts index 5a52f527e3..d88d9124a4 100644 --- a/src/services/notifications.service.ts +++ b/src/services/notifications.service.ts @@ -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; }