mirror of https://github.com/espruino/BangleApps
weather: don't mark app as CLOCK.
This matters for widgets that hide themselves for clockspull/2066/head
parent
489582ee91
commit
929c6171d6
|
@ -12,3 +12,4 @@
|
|||
0.13: Tweak Bangle.js 2 light theme colors
|
||||
0.14: Use weather condition code for icon selection
|
||||
0.15: Fix widget icon
|
||||
0.16: Don't mark app as clock
|
||||
|
|
|
@ -101,7 +101,11 @@ weather.on("update", update);
|
|||
|
||||
update();
|
||||
|
||||
// Show launcher when middle button pressed
|
||||
// We want this app to behave like a clock:
|
||||
// i.e. show launcher when middle button pressed
|
||||
Bangle.setUI("clock");
|
||||
// But the app is not actually a clock
|
||||
// This matters for widgets that hide themselves for clocks, like widclk or widclose
|
||||
delete Bangle.CLOCK;
|
||||
|
||||
Bangle.drawWidgets();
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "weather",
|
||||
"name": "Weather",
|
||||
"version": "0.15",
|
||||
"version": "0.16",
|
||||
"description": "Show Gadgetbridge weather report",
|
||||
"icon": "icon.png",
|
||||
"screenshots": [{"url":"screenshot.png"}],
|
||||
|
|
Loading…
Reference in New Issue