mirror of
https://github.com/SimpleMobileTools/Simple-Clock.git
synced 2025-02-20 22:00:45 +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…
x
Reference in New Issue
Block a user