comment
parent
5e4ad094e7
commit
778432e945
|
|
@ -66,6 +66,9 @@ ClockFace.prototype.tick = function() {
|
||||||
};
|
};
|
||||||
|
|
||||||
ClockFace.prototype.start = 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.CLOCK = 1;
|
||||||
Bangle.loadWidgets();
|
Bangle.loadWidgets();
|
||||||
if (this.init) this.init.apply(this);
|
if (this.init) this.init.apply(this);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue