mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2024-12-14 01:04:50 +01:00
do not reschedule repeating alarms
This commit is contained in:
parent
edc7d4f942
commit
822044ed0f
@ -230,7 +230,9 @@ fun Context.getNextAlarm(): String {
|
||||
|
||||
fun Context.rescheduleEnabledAlarms() {
|
||||
dbHelper.getEnabledAlarms().forEach {
|
||||
scheduleNextAlarm(it, false)
|
||||
if (it.days != TODAY_BIT || it.timeInMinutes > getCurrentDayMinutes()) {
|
||||
scheduleNextAlarm(it, false)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user