Update lib.js

pull/1633/head
KungPhoo 2022-03-28 22:45:41 +02:00 committed by GitHub
parent a011858cab
commit cf53626c59
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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