Update settings.js
-Option to unlock the watch, when a message arrives, so the buttons can directly be touched.master
parent
cd1294af40
commit
a06c782ede
|
|
@ -4,6 +4,7 @@
|
||||||
if (settings.vibrate===undefined) settings.vibrate=".";
|
if (settings.vibrate===undefined) settings.vibrate=".";
|
||||||
if (settings.repeat===undefined) settings.repeat=4;
|
if (settings.repeat===undefined) settings.repeat=4;
|
||||||
if (settings.unreadTimeout===undefined) settings.unreadTimeout=60;
|
if (settings.unreadTimeout===undefined) settings.unreadTimeout=60;
|
||||||
|
if( settings.unlockWatch===undefined) settings.unlockWatch = false;
|
||||||
settings.openMusic=!!settings.openMusic;
|
settings.openMusic=!!settings.openMusic;
|
||||||
settings.maxUnreadTimeout=240;
|
settings.maxUnreadTimeout=240;
|
||||||
return settings;
|
return settings;
|
||||||
|
|
@ -49,6 +50,11 @@
|
||||||
format: v => v?/*LANG*/'Yes':/*LANG*/'No',
|
format: v => v?/*LANG*/'Yes':/*LANG*/'No',
|
||||||
onchange: v => updateSetting("openMusic", v)
|
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);
|
E.showMenu(mainmenu);
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue