analogimgclk: Add BTN2 -> launcher

pull/486/head
Gordon Williams 2020-06-04 17:06:25 +01:00
parent dc8d2fc25e
commit 53061f27d3
3 changed files with 5 additions and 1 deletions

View File

@ -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",

View File

@ -1 +1,2 @@
0.01: New App!
0.02: Add BTN2 -> launcher

View File

@ -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" });