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",
"name": "Weather",
"icon": "icon.png",
"version":"0.05",
"version":"0.06",
"description": "Show Gadgetbridge weather report",
"readme": "readme.md",
"tags": "widget,outdoors",

View File

@ -1,4 +1,5 @@
0.02: Make minor adjustments to widget, and discard stale weather data after a configurable period.
0.03: Fix flickering last updated time.
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();
// Show launcher when middle button pressed
setWatch(Bangle.showLauncher, BTN2, {repeat: false, edge: 'falling'});
Bangle.setUI("clock");
Bangle.loadWidgets();
Bangle.drawWidgets();