From cf53626c5957e7eb08f9080964b28560b11b0fbd Mon Sep 17 00:00:00 2001 From: KungPhoo Date: Mon, 28 Mar 2022 22:45:41 +0200 Subject: [PATCH] Update lib.js --- apps/messages/lib.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/messages/lib.js b/apps/messages/lib.js index 30ffe0a95..fa607b268 100644 --- a/apps/messages/lib.js +++ b/apps/messages/lib.js @@ -61,7 +61,7 @@ exports.pushMessage = function(event) { var unlockWatch = (require('Storage').readJSON('setting.json',1)||{}).unlockWatch; if (!quiet && loadMessages && global.WIDGETS && WIDGETS.messages){ WIDGETS.messages.buzz(); - if(!!unlockWatch){ + if(unlockWatch != false){ Bangle.setLocked(false); } }