diff --git a/app/src/main/kotlin/com/simplemobiletools/clock/activities/ReminderActivity.kt b/app/src/main/kotlin/com/simplemobiletools/clock/activities/ReminderActivity.kt index 8e09c79e..cc845698 100644 --- a/app/src/main/kotlin/com/simplemobiletools/clock/activities/ReminderActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/clock/activities/ReminderActivity.kt @@ -261,8 +261,14 @@ class ReminderActivity : SimpleActivity() { } private fun finishActivity() { - if (!wasAlarmSnoozed && alarm != null && alarm!!.days > 0) { - scheduleNextAlarm(alarm!!, false) + if (!wasAlarmSnoozed && alarm != null) { + if (alarm!!.days > 0) { + scheduleNextAlarm(alarm!!, false) + } + if (alarm!!.days < 0) { + dbHelper.updateAlarmEnabledState(alarm!!.id, false) + updateWidgets() + } } destroyEffects()