diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt index 3b23445c0..dc7f93388 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/extensions/Context.kt @@ -84,8 +84,9 @@ fun Context.scheduleNextEventReminder(event: Event) { return } - if (event.repeatLimit == 0 || event.repeatLimit > nextTS) + if (event.repeatLimit == 0 || event.repeatLimit > nextTS || event.repeatLimit < 0) { scheduleEventIn(nextTS, event) + } } private fun isOccurrenceIgnored(event: Event, startTS: Int, reminderSeconds: Int): Boolean {