Merge pull request #2130 from Rarder44/new_master

fix for https://github.com/espruino/BangleApps/issues/2128
master
Gordon Williams 2022-09-20 13:56:54 +01:00 committed by GitHub
commit e228e7313e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 3 deletions

View File

@ -8,3 +8,4 @@
0.08: removed unused font, fix autocycle, imported suncalc and trimmed, removed pedometer dependency, "tap to cycle" setting
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 )

View File

@ -2,7 +2,7 @@
"id": "rebble",
"name": "Rebble Clock",
"shortName": "Rebble",
"version": "0.10",
"version": "0.11",
"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",

View File

@ -292,6 +292,9 @@ function queueDraw() {
log_debug("starting..");
loadSettings();
loadLocation();
if(settings.autoCycle || settings.sideTap==0)
{
@ -314,8 +317,6 @@ Bangle.loadWidgets();
* area to the top bar doesn't get cleared.
*/
for (let wd of WIDGETS) {wd.draw=()=>{};wd.area="";}
loadSettings();
loadLocation();