forked from FOSS/BangleApps
analogimgclk: Add BTN2 -> launcher
parent
dc8d2fc25e
commit
53061f27d3
|
@ -1857,7 +1857,7 @@
|
|||
"name": "Analog Clock (Image background)",
|
||||
"shortName":"Analog Clock",
|
||||
"icon": "app.png",
|
||||
"version":"0.01",
|
||||
"version":"0.02",
|
||||
"description": "An analog clock with an image background",
|
||||
"tags": "clock",
|
||||
"type": "clock",
|
||||
|
|
|
@ -1 +1,2 @@
|
|||
0.01: New App!
|
||||
0.02: Add BTN2 -> launcher
|
||||
|
|
|
@ -113,3 +113,6 @@ if (g.drawImages) {
|
|||
} else {
|
||||
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