File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 33
33
0.30: Fix possible bug in toggling an alarm to on, from clkinfo
34
34
0.31: Ensure we reschedule alarms after setTimeZone has been called (fix #3791)
35
35
0.32: clkinfo ensures an alarm won't trigger immediately (copying `alarm`'s behaviour)
36
- 0.33: Ensure default vibration pattern is longer
36
+ 0.33: Ensure default vibration pattern is longer
37
+ 0.34: Ensure ClockInfo updates if it's used to start a timer
Original file line number Diff line number Diff line change 126
126
} ,
127
127
run : function ( ) {
128
128
if ( a . date ) return ; // ignore events
129
+ this . hide ( ) ;
129
130
a . on = ! a . on ;
130
131
a . last = 0 ;
131
132
if ( a . on && a . timer ) require ( 'sched' ) . resetTimer ( a ) ;
132
133
this . emit ( "redraw" ) ;
133
134
require ( 'sched' ) . setAlarms ( all ) ;
134
135
require ( 'sched' ) . reload ( ) ; // schedule/unschedule the alarm
136
+ this . show ( ) ;
135
137
}
136
138
} ) ) ,
137
139
} ;
Original file line number Diff line number Diff line change 1
1
{
2
2
"id" : " sched" ,
3
3
"name" : " Scheduler" ,
4
- "version" : " 0.33 " ,
4
+ "version" : " 0.34 " ,
5
5
"description" : " Scheduling library for alarms and timers" ,
6
6
"icon" : " app.png" ,
7
7
"type" : " scheduler" ,
You can’t perform that action at this time.
0 commit comments