widget_utils for 90sclk
parent
03027fb343
commit
a8acf224f5
|
|
@ -1,3 +1,4 @@
|
||||||
0.01: New App!
|
0.01: New App!
|
||||||
0.02: Fullscreen settings.
|
0.02: Fullscreen settings.
|
||||||
0.03: Tell clock widgets to hide.
|
0.03: Tell clock widgets to hide.
|
||||||
|
0.04: Use widget_utils.
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,7 @@
|
||||||
const SETTINGS_FILE = "90sclk.setting.json";
|
const SETTINGS_FILE = "90sclk.setting.json";
|
||||||
const locale = require('locale');
|
const locale = require('locale');
|
||||||
const storage = require('Storage');
|
const storage = require('Storage');
|
||||||
|
const widget_utils = require('widget_utils');
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
@ -109,7 +110,7 @@ function draw() {
|
||||||
|
|
||||||
// Draw widgets if not fullscreen
|
// Draw widgets if not fullscreen
|
||||||
if(settings.fullscreen){
|
if(settings.fullscreen){
|
||||||
for (let wd of WIDGETS) {wd.draw=()=>{};wd.area="";}
|
widget_utils.hide();
|
||||||
} else {
|
} else {
|
||||||
Bangle.drawWidgets();
|
Bangle.drawWidgets();
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "90sclk",
|
"id": "90sclk",
|
||||||
"name": "90s Clock",
|
"name": "90s Clock",
|
||||||
"version": "0.03",
|
"version": "0.04",
|
||||||
"description": "A 90s style watch-face",
|
"description": "A 90s style watch-face",
|
||||||
"readme": "README.md",
|
"readme": "README.md",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue