analogimgclk: Add BTN2 -> launcher
parent
dc8d2fc25e
commit
53061f27d3
|
|
@ -1857,7 +1857,7 @@
|
||||||
"name": "Analog Clock (Image background)",
|
"name": "Analog Clock (Image background)",
|
||||||
"shortName":"Analog Clock",
|
"shortName":"Analog Clock",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.01",
|
"version":"0.02",
|
||||||
"description": "An analog clock with an image background",
|
"description": "An analog clock with an image background",
|
||||||
"tags": "clock",
|
"tags": "clock",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
|
|
|
||||||
|
|
@ -1 +1,2 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
|
0.02: Add BTN2 -> launcher
|
||||||
|
|
|
||||||
|
|
@ -113,3 +113,6 @@ if (g.drawImages) {
|
||||||
} else {
|
} else {
|
||||||
E.showMessage("Please update\nBangle.js firmware\nto use this clock","analogimgclk");
|
E.showMessage("Please update\nBangle.js firmware\nto use this clock","analogimgclk");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Show launcher when middle button pressed
|
||||||
|
setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue