analogimgclk Update to use setUI

pull/765/head
Gordon Williams 2021-06-24 12:13:56 +01:00
parent 547d9c8bf5
commit 8fe6a38eaf
3 changed files with 5 additions and 4 deletions

View File

@ -2157,9 +2157,9 @@
"name": "Analog Clock (Image background)",
"shortName":"Analog Clock",
"icon": "app.png",
"version":"0.02",
"version":"0.03",
"description": "An analog clock with an image background",
"tags": "clock",
"tags": "clock,nob2",
"type": "clock",
"storage": [
{"name":"analogimgclk.app.js","url":"app.js"},

View File

@ -1,2 +1,3 @@
0.01: New App!
0.02: Add BTN2 -> launcher
0.03: Update to use setUI

View File

@ -114,5 +114,5 @@ if (g.drawImages) {
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" });
// Show launcher when button pressed
Bangle.setUI("clock");