mirror of https://github.com/espruino/BangleApps
commit
78ece54957
|
@ -20,4 +20,5 @@
|
||||||
0.17: Fix midnight in local timezone (alarms wouldn't always fire as expected in timezone != 0)
|
0.17: Fix midnight in local timezone (alarms wouldn't always fire as expected in timezone != 0)
|
||||||
0.18: Update clock_info to avoid a redraw
|
0.18: Update clock_info to avoid a redraw
|
||||||
0.19: Update clock_info to refresh periodically on active alarms/timers
|
0.19: Update clock_info to refresh periodically on active alarms/timers
|
||||||
0.20: Alarm dismiss and snooze events
|
0.20: Alarm dismiss and snooze events
|
||||||
|
0.21: Fix crash in clock_info
|
||||||
|
|
|
@ -118,8 +118,8 @@
|
||||||
this.switchTimeout = _doSwitchTimeout.call(this, a, switchTimeout);
|
this.switchTimeout = _doSwitchTimeout.call(this, a, switchTimeout);
|
||||||
},
|
},
|
||||||
hide: function() {
|
hide: function() {
|
||||||
clearInterval(this.interval);
|
if (this.interval) clearInterval(this.interval);
|
||||||
clearTimeout(this.switchTimeout);
|
if (this.switchTimeout) clearTimeout(this.switchTimeout);
|
||||||
this.interval = undefined;
|
this.interval = undefined;
|
||||||
this.switchTimeout = undefined;
|
this.switchTimeout = undefined;
|
||||||
},
|
},
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "sched",
|
"id": "sched",
|
||||||
"name": "Scheduler",
|
"name": "Scheduler",
|
||||||
"version": "0.20",
|
"version": "0.21",
|
||||||
"description": "Scheduling library for alarms and timers",
|
"description": "Scheduling library for alarms and timers",
|
||||||
"icon": "app.png",
|
"icon": "app.png",
|
||||||
"type": "scheduler",
|
"type": "scheduler",
|
||||||
|
|
Loading…
Reference in New Issue