mirror of https://github.com/espruino/BangleApps
Update weather to use setUI, for shortcuts compatibility
parent
3f9e63a347
commit
d090ad1bb3
|
@ -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",
|
||||||
|
|
|
@ -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.
|
|
@ -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();
|
||||||
|
|
Loading…
Reference in New Issue