diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/clock/extensions/Context.kt index c4cb7e15..f9402226 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/extensions/Context.kt @@ -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) + } } }