master
Gordon Williams 2022-05-23 10:25:31 +01:00
parent 5e4ad094e7
commit 778432e945
1 changed files with 5 additions and 2 deletions

View File

@ -66,6 +66,9 @@ ClockFace.prototype.tick = function() {
};
ClockFace.prototype.start = function() {
/* Some widgets want to know if we're in a clock or not (like chrono, widget clock, etc). Normally
.CLOCK is set by Bangle.setUI('clock') but we want to load widgets so we can check appRect and *then*
call setUI. see #1864 */
Bangle.CLOCK = 1;
Bangle.loadWidgets();
if (this.init) this.init.apply(this);