implemented widget_utils
parent
69dbac6128
commit
ba028e1f58
|
|
@ -9,3 +9,4 @@
|
|||
0.09: fix battery icon size
|
||||
0.10: Tell clock widgets to hide.
|
||||
0.11: fix issue https://github.com/espruino/BangleApps/issues/2128 (#2128) ( settings undefined )
|
||||
0.12: implemented widget_utils
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
"id": "rebble",
|
||||
"name": "Rebble Clock",
|
||||
"shortName": "Rebble",
|
||||
"version": "0.11",
|
||||
"version": "0.12",
|
||||
"description": "A Pebble style clock, with configurable background, three sidebars including steps, day, date, sunrise, sunset, long live the rebellion",
|
||||
"readme": "README.md",
|
||||
"icon": "rebble.png",
|
||||
|
|
|
|||
|
|
@ -309,16 +309,8 @@ else{
|
|||
}
|
||||
|
||||
|
||||
g.clear();
|
||||
Bangle.loadWidgets();
|
||||
/*
|
||||
* we are not drawing the widgets as we are taking over the whole screen
|
||||
* so we will blank out the draw() functions of each widget and change the
|
||||
* area to the top bar doesn't get cleared.
|
||||
*/
|
||||
for (let wd of WIDGETS) {wd.draw=()=>{};wd.area="";}
|
||||
|
||||
|
||||
require("widget_utils").hide();
|
||||
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue