mirror of https://github.com/espruino/BangleApps
commit
65874f7bc4
|
@ -1,3 +1,4 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: Change start sequence to BTN1/3/1/3 to avoid accidental turning on (fix #342)
|
0.02: Change start sequence to BTN1/3/1/3 to avoid accidental turning on (fix #342)
|
||||||
0.03: Add Color Changing Settings
|
0.03: Add Color Changing Settings
|
||||||
|
0.04: Add Support For Bangle.js 2
|
||||||
|
|
|
@ -14,5 +14,6 @@ g.setColor(settings.bg);
|
||||||
g.fillRect(0,0,g.getWidth(),g.getHeight());
|
g.fillRect(0,0,g.getWidth(),g.getHeight());
|
||||||
// Any button turns off
|
// Any button turns off
|
||||||
setWatch(()=>load(), BTN1);
|
setWatch(()=>load(), BTN1);
|
||||||
setWatch(()=>load(), BTN2);
|
if (global.BTN2) setWatch(()=>load(), BTN2);
|
||||||
setWatch(()=>load(), BTN3);
|
if (global.BTN3) setWatch(()=>load(), BTN3);
|
||||||
|
|
||||||
|
|
|
@ -2,14 +2,14 @@
|
||||||
"id": "torch",
|
"id": "torch",
|
||||||
"name": "Torch",
|
"name": "Torch",
|
||||||
"shortName": "Torch",
|
"shortName": "Torch",
|
||||||
"version": "0.03",
|
"version": "0.04",
|
||||||
"description": "Turns screen white to help you see in the dark. Select from the launcher or press BTN1,BTN3,BTN1,BTN3 quickly to start when in any app that shows widgets. You can also set the color through the apps settings menu.",
|
"description": "Turns screen white to help you see in the dark. Select from the launcher or press BTN1,BTN3,BTN1,BTN3 quickly to start when in any app that shows widgets on Bangle.js 1. You can also set the color through the app's setting menu.",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"tags": "tool,torch",
|
"tags": "tool,torch",
|
||||||
"supports": ["BANGLEJS"],
|
"supports": ["BANGLEJS","BANGLEJS2"],
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"torch.app.js","url":"app.js"},
|
{"name":"torch.app.js","url":"app.js"},
|
||||||
{"name":"torch.wid.js","url":"widget.js"},
|
{"name":"torch.wid.js","url":"widget.js","supports": ["BANGLEJS"]},
|
||||||
{"name":"torch.img","url":"app-icon.js","evaluate":true},
|
{"name":"torch.img","url":"app-icon.js","evaluate":true},
|
||||||
{"name":"torch.settings.js","url":"settings.js"}
|
{"name":"torch.settings.js","url":"settings.js"}
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in New Issue