From a06c782edeb56ed540f8baf6b160b7f01e24d42f Mon Sep 17 00:00:00 2001 From: KungPhoo Date: Mon, 28 Mar 2022 21:57:52 +0200 Subject: [PATCH] Update settings.js -Option to unlock the watch, when a message arrives, so the buttons can directly be touched. --- apps/messages/settings.js | 6 ++++++ 1 file changed, 6 insertions(+) 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); })