0.31: Remove calls to Bangle.loadWidgets as they are not needed and create warnings

pull/2396/head^2
Gordon Williams 2022-12-14 10:23:22 +00:00
parent dcefe4b393
commit 51304530f6
3 changed files with 3 additions and 4 deletions

View File

@ -14,3 +14,4 @@
0.28: Reverted changes to implementation of 0.25
0.29: Use 'modules/suncalc.js' to avoid it being copied 8 times for different apps
0.30: BJS2: swipe seems to be working now
0.31: Remove calls to Bangle.loadWidgets as they are not needed and create warnings

View File

@ -329,12 +329,10 @@ draw();
if (dx < dy) { //down
g.clear().setRotation(0);
draw();
Bangle.loadWidgets();
Bangle.drawWidgets();
} else {
g.clear().setRotation(2);
draw();
Bangle.loadWidgets();
Bangle.drawWidgets();
}
} else {
@ -454,4 +452,4 @@ Bangle.loadWidgets();
Bangle.drawWidgets();
// );
}
}

View File

@ -2,7 +2,7 @@
"id": "hworldclock",
"name": "Hanks World Clock",
"shortName": "Hanks World Clock",
"version": "0.30",
"version": "0.31",
"description": "Current time zone plus up to three others",
"allow_emulator":true,
"icon": "app.png",