Update weather to use setUI, for shortcuts compatibility

pull/807/head
Ben Whittaker 2021-09-14 14:57:57 -04:00
parent 3f9e63a347
commit d090ad1bb3
3 changed files with 4 additions and 3 deletions

View File

@ -571,7 +571,7 @@
{ "id": "weather", { "id": "weather",
"name": "Weather", "name": "Weather",
"icon": "icon.png", "icon": "icon.png",
"version":"0.05", "version":"0.06",
"description": "Show Gadgetbridge weather report", "description": "Show Gadgetbridge weather report",
"readme": "readme.md", "readme": "readme.md",
"tags": "widget,outdoors", "tags": "widget,outdoors",

View File

@ -2,3 +2,4 @@
0.03: Fix flickering last updated time. 0.03: Fix flickering last updated time.
0.04: Adjust "weather unknown" message according to Bluetooth connection. 0.04: Adjust "weather unknown" message according to Bluetooth connection.
0.05: Add wind direction. 0.05: Add wind direction.
0.06: Use setUI for launcher.

View File

@ -88,7 +88,7 @@
update(); update();
// Show launcher when middle button pressed // Show launcher when middle button pressed
setWatch(Bangle.showLauncher, BTN2, {repeat: false, edge: 'falling'}); Bangle.setUI("clock");
Bangle.loadWidgets(); Bangle.loadWidgets();
Bangle.drawWidgets(); Bangle.drawWidgets();