mirror of https://github.com/espruino/BangleApps
Prune Changelog
parent
0d6f7687fc
commit
e4518870a6
|
@ -1,9 +1 @@
|
||||||
0.12: First release
|
0.20: First release
|
||||||
0.13: Fix widgets reappearing
|
|
||||||
0.14: Fix midnight
|
|
||||||
0.15: Fix midnight better
|
|
||||||
0.16: Fix midnight decisively
|
|
||||||
0.17: Get loadWidgets back in the right place
|
|
||||||
0.18: Move setUI and loadWidgets to initialize function
|
|
||||||
0.19: Make compatible with top and bottom widgets
|
|
||||||
0.20: Remove unused constant
|
|
|
@ -63,8 +63,8 @@ function initialize() {
|
||||||
|
|
||||||
// now check every second
|
// now check every second
|
||||||
let secondInterval = setInterval(tick, 1000);
|
let secondInterval = setInterval(tick, 1000);
|
||||||
// Stop updates when LCD is off, restart when on
|
|
||||||
|
|
||||||
|
// Stop updates when LCD is off, restart when on
|
||||||
Bangle.on('lcdPower',on=>{
|
Bangle.on('lcdPower',on=>{
|
||||||
if (secondInterval) clearInterval(secondInterval);
|
if (secondInterval) clearInterval(secondInterval);
|
||||||
secondInterval = undefined;
|
secondInterval = undefined;
|
||||||
|
|
Loading…
Reference in New Issue