mirror of https://github.com/espruino/BangleApps
Fix loadWidgets location
parent
072db5c9b9
commit
0219eeb0ef
|
@ -3,3 +3,4 @@
|
|||
0.14: Fix midnight
|
||||
0.15: Fix midnight better
|
||||
0.16: Fix midnight decisively
|
||||
0.17: Get loadWidgets back in the right place
|
|
@ -48,9 +48,6 @@ const Y = SCREEN_HEIGHT / 2
|
|||
let date, mins;
|
||||
|
||||
function initialize() {
|
||||
// Load widgets
|
||||
Bangle.loadWidgets();
|
||||
|
||||
// draw immediately at first
|
||||
tick();
|
||||
|
||||
|
@ -108,6 +105,8 @@ function draw() {
|
|||
This should be done *before* Bangle.loadWidgets so that
|
||||
widgets know if they're being loaded into a clock app or not */
|
||||
Bangle.setUI("clock");
|
||||
// Load widgets
|
||||
Bangle.loadWidgets();
|
||||
|
||||
if (settings.showWidgets) {
|
||||
Bangle.drawWidgets();
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
"name": "Dutch Clock",
|
||||
"shortName":"Dutch Clock",
|
||||
"icon": "app.png",
|
||||
"version":"0.16",
|
||||
"version":"0.17",
|
||||
"description": "A clock that displays the time the way a Dutch person would respond when asked what time it is.",
|
||||
"type": "clock",
|
||||
"tags": "clock,dutch,text",
|
||||
|
|
Loading…
Reference in New Issue