analogimgclk Update to use setUI
parent
547d9c8bf5
commit
8fe6a38eaf
|
|
@ -2157,9 +2157,9 @@
|
||||||
"name": "Analog Clock (Image background)",
|
"name": "Analog Clock (Image background)",
|
||||||
"shortName":"Analog Clock",
|
"shortName":"Analog Clock",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"version":"0.02",
|
"version":"0.03",
|
||||||
"description": "An analog clock with an image background",
|
"description": "An analog clock with an image background",
|
||||||
"tags": "clock",
|
"tags": "clock,nob2",
|
||||||
"type": "clock",
|
"type": "clock",
|
||||||
"storage": [
|
"storage": [
|
||||||
{"name":"analogimgclk.app.js","url":"app.js"},
|
{"name":"analogimgclk.app.js","url":"app.js"},
|
||||||
|
|
|
||||||
|
|
@ -1,2 +1,3 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: Add BTN2 -> launcher
|
0.02: Add BTN2 -> launcher
|
||||||
|
0.03: Update to use setUI
|
||||||
|
|
|
||||||
|
|
@ -114,5 +114,5 @@ if (g.drawImages) {
|
||||||
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
|
// Show launcher when button pressed
|
||||||
setWatch(Bangle.showLauncher, BTN2, { repeat: false, edge: "falling" });
|
Bangle.setUI("clock");
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue