Update app.js

Remove an unneeded piece of defensiveness.
pull/1079/head
stephenPspackman 2021-12-13 13:00:29 -08:00 committed by GitHub
parent abfb7fc8a4
commit c1cbc39377
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ class Clock {
this.rates.clock = this.timescales[this.options.resolution];
this.active();
for (const l in this.listeners) {
this.listeners[l] && Bangle.on(l, this.listeners[l]);
Bangle.on(l, this.listeners[l]);
}
Bangle.setUI('clock');
return this;