So, I'm still dreaming of an easy privacy funtion that notifies me that there are new messages, but does NOT show them. That can e.g. be useful if you are in a meeting or in other situations where everybody can have a peek on the watch.
So I looked into the "Messages" and it looks like an easy deal. In theory we just have to add
// don't auto-open messages if noAutOpn is true
if(noAutOpn) {
loadMessages = false;
if (!quiet) Bangle.buzz(); // Buzz , if not in quiet mode to notify that some message arrived
}
In line 72 of lib.js and
/*LANG*/'Disable auto-open, but buzz if not quiet': {
value: !!settings().noAutOpn,
onchange: v => updateSetting("noAutOpn", v)
},
In the settings.js.
But I am hesitating to open a PR because if I upload the settings.js, the console shows
Messages settings error: Error: Error: Module buzz_menu not found
when oening the settings - even with the original settings.js. So I cannot test it.
Any ideas? Or if all that makes sense, @Gordon could you just add that to Messages as descibed above?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
So, I'm still dreaming of an easy privacy funtion that notifies me that there are new messages, but does NOT show them. That can e.g. be useful if you are in a meeting or in other situations where everybody can have a peek on the watch.
So I looked into the "Messages" and it looks like an easy deal. In theory we just have to add
In line 72 of lib.js and
In the settings.js.
But I am hesitating to open a PR because if I upload the settings.js, the console shows
when oening the settings - even with the original settings.js. So I cannot test it.
Any ideas? Or if all that makes sense, @Gordon could you just add that to Messages as descibed above?