forked from FOSS/BangleApps
only save the original hour on the first snooze
parent
b1f3e5e125
commit
07bcd7528b
|
@ -24,7 +24,7 @@ function showAlarm(alarm) {
|
|||
}).then(function(sleep) {
|
||||
buzzCount = 0;
|
||||
if (sleep) {
|
||||
alarm.ohr = alarm.hr;
|
||||
if(!alarm.ohr) alarm.ohr = alarm.hr;
|
||||
alarm.hr += 10/60; // 10 minutes
|
||||
} else {
|
||||
alarm.last = (new Date()).getDate();
|
||||
|
|
Loading…
Reference in New Issue