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