diff --git a/apps/circlesclock/ChangeLog b/apps/circlesclock/ChangeLog index 9c3b673aa..cb5248e32 100644 --- a/apps/circlesclock/ChangeLog +++ b/apps/circlesclock/ChangeLog @@ -37,3 +37,4 @@ 0.20: Add much faster circle rendering (250ms -> 40ms) Add fast load capability 0.21: Remade all icons without a palette for dark theme + Now re-adds widgets if they were hidden when fast-loading diff --git a/apps/circlesclock/app.js b/apps/circlesclock/app.js index 5039488a7..444040ef0 100644 --- a/apps/circlesclock/app.js +++ b/apps/circlesclock/app.js @@ -33,9 +33,9 @@ if (settings.stepGoal == undefined) { } let drawTimeout; -let showWidgets = settings.showWidgets || false; -let circleCount = settings.circleCount || 3; -let showBigWeather = settings.showBigWeather || false; +const showWidgets = settings.showWidgets || false; +const circleCount = settings.circleCount || 3; +const showBigWeather = settings.showBigWeather || false; let hrtValue; //TODO deprecate this let now = Math.round(new Date().getTime() / 1000); @@ -329,6 +329,7 @@ Bangle.setUI({ clockInfoMenu.forEach(c => c.remove()); delete Graphics.prototype.setFontRobotoRegular50NumericOnly; delete Graphics.prototype.setFontRobotoRegular21; + if (!showWidgets) require("widget_utils").show(); } });