use widget_utils .hide()

pull/2342/head
thyttan 2022-12-01 19:26:40 +01:00
parent 1bb9b68e6a
commit 6ea11508ef
3 changed files with 4 additions and 4 deletions

View File

@ -1,3 +1,4 @@
0.01: New app!
0.02: Design improvements and fixes.
0.03: Indicate battery level through line occurrence.
0.03: Indicate battery level through line occurrence.
0.04: Use widget_utils module.

View File

@ -215,8 +215,7 @@ Bangle.loadWidgets();
* 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();
// Clear the screen once, at startup and draw clock
g.setTheme({bg:"#fff",fg:"#000",dark:false}).clear();
draw();

View File

@ -3,7 +3,7 @@
"name": "AI Clock",
"shortName":"AI Clock",
"icon": "aiclock.png",
"version":"0.03",
"version":"0.04",
"readme": "README.md",
"supports": ["BANGLEJS2"],
"description": "A watch face that was designed by an AI (stable diffusion) and implemented by a human.",