mirror of https://github.com/espruino/BangleApps
noteify: Remove duplicate alarm widget
parent
a3f77de725
commit
8fca0579ce
|
@ -1,2 +1,3 @@
|
||||||
0.01: Initial version
|
0.01: Initial version
|
||||||
0.02: Use default Bangle formatter for booleans
|
0.02: Use default Bangle formatter for booleans
|
||||||
|
0.03: Drop duplicate alarm widget
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "noteify",
|
"id": "noteify",
|
||||||
"name": "Noteify",
|
"name": "Noteify",
|
||||||
"version": "0.02",
|
"version": "0.03",
|
||||||
"description": "Write notes using an onscreen keyboard and use them as custom messages for alarms or timers.",
|
"description": "Write notes using an onscreen keyboard and use them as custom messages for alarms or timers.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,alarm",
|
"tags": "tool,alarm",
|
||||||
|
@ -9,8 +9,7 @@
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"noteify.app.js","url":"app.js"},
|
{"name":"noteify.app.js","url":"app.js"},
|
||||||
{"name":"noteify.img","url":"app-icon.js","evaluate":true},
|
{"name":"noteify.img","url":"app-icon.js","evaluate":true}
|
||||||
{"name":"noteify.wid.js","url":"widget.js"}
|
|
||||||
],
|
],
|
||||||
"data": [{"name":"noteify.json"}],
|
"data": [{"name":"noteify.json"}],
|
||||||
"dependencies": {"scheduler":"type","textinput":"type"},
|
"dependencies": {"scheduler":"type","textinput":"type"},
|
||||||
|
|
|
@ -1,8 +0,0 @@
|
||||||
WIDGETS["alarm"]={area:"tl",width:0,draw:function() {
|
|
||||||
if (this.width) g.reset().drawImage(atob("GBgBAAAAAAAAABgADhhwDDwwGP8YGf+YMf+MM//MM//MA//AA//AA//AA//AA//AA//AB//gD//wD//wAAAAADwAABgAAAAAAAAA"),this.x,this.y);
|
|
||||||
},reload:function() {
|
|
||||||
// don't include library here as we're trying to use as little RAM as possible
|
|
||||||
WIDGETS["alarm"].width = (require('Storage').readJSON('sched.json',1)||[]).some(alarm=>alarm.on&&(alarm.hidden!==false)) ? 24 : 0;
|
|
||||||
}
|
|
||||||
};
|
|
||||||
WIDGETS["alarm"].reload();
|
|
|
@ -20,7 +20,7 @@
|
||||||
"On": "Ein",
|
"On": "Ein",
|
||||||
"Off": "Aus",
|
"Off": "Aus",
|
||||||
"Ok": "OK",
|
"Ok": "OK",
|
||||||
"New Timer": "Neuer Kurzzeitwecker",
|
"New Timer": "Neuer Timer",
|
||||||
"(repeat)": "(Wiederholung)",
|
"(repeat)": "(Wiederholung)",
|
||||||
"music": "Musik",
|
"music": "Musik",
|
||||||
"Keep Msgs": "Nachrichten behalten",
|
"Keep Msgs": "Nachrichten behalten",
|
||||||
|
@ -148,7 +148,7 @@
|
||||||
"Whitelist": "Whitelist",
|
"Whitelist": "Whitelist",
|
||||||
"Select Clock": "Uhr auswählen",
|
"Select Clock": "Uhr auswählen",
|
||||||
"Disable": "Deaktivieren",
|
"Disable": "Deaktivieren",
|
||||||
"Timer": "Kurzzeitwecker",
|
"Timer": "Timer",
|
||||||
"Error in settings": "Fehler in den Einstellungen",
|
"Error in settings": "Fehler in den Einstellungen",
|
||||||
"Set Time": "Zeit einstellen",
|
"Set Time": "Zeit einstellen",
|
||||||
"ALARM": "ALARM",
|
"ALARM": "ALARM",
|
||||||
|
|
Loading…
Reference in New Issue