diff --git a/apps/sched/ChangeLog b/apps/sched/ChangeLog index 83eb2ca20c..eab8dd3053 100644 --- a/apps/sched/ChangeLog +++ b/apps/sched/ChangeLog @@ -29,4 +29,5 @@ 0.26: Fix hitting snooze on an alarm after when the snooze would've fired 0.27: Tapping clkinfo enables/disables the selected alarm 0.28: Added an icon for disabled events -0.29: Improve clkinfo startup time by 10ms \ No newline at end of file +0.29: Improve clkinfo startup time by 10ms +0.30: Fix possible bug in toggling an alarm to on, from clkinfo diff --git a/apps/sched/clkinfo.js b/apps/sched/clkinfo.js index 8d4d747c0c..266eb7bded 100644 --- a/apps/sched/clkinfo.js +++ b/apps/sched/clkinfo.js @@ -127,6 +127,7 @@ run: function() { if (a.date) return; // ignore events a.on = !a.on; + a.last = 0; if(a.on && a.timer) require('sched').resetTimer(a); this.emit("redraw"); require('sched').setAlarms(all); diff --git a/apps/sched/metadata.json b/apps/sched/metadata.json index 274b83d146..7e3458ae6c 100644 --- a/apps/sched/metadata.json +++ b/apps/sched/metadata.json @@ -1,7 +1,7 @@ { "id": "sched", "name": "Scheduler", - "version": "0.29", + "version": "0.30", "description": "Scheduling library for alarms and timers", "icon": "app.png", "type": "scheduler",