diff --git a/apps/messages/settings.js b/apps/messages/settings.js index 99843602b..1e9605360 100644 --- a/apps/messages/settings.js +++ b/apps/messages/settings.js @@ -4,6 +4,7 @@ if (settings.vibrate===undefined) settings.vibrate="."; if (settings.repeat===undefined) settings.repeat=4; if (settings.unreadTimeout===undefined) settings.unreadTimeout=60; + if( settings.unlockWatch===undefined) settings.unlockWatch = false; settings.openMusic=!!settings.openMusic; settings.maxUnreadTimeout=240; return settings; @@ -49,6 +50,11 @@ format: v => v?/*LANG*/'Yes':/*LANG*/'No', onchange: v => updateSetting("openMusic", v) }, + /*LANG*/'Unlock Watch': { + value: !!settings().unlockWatch, + format: v => v?/*LANG*/'Yes':/*LANG*/'No', + onchange: v => updateSetting("unlockWatch", v) + }, }; E.showMenu(mainmenu); })