mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix #1046, adding an extra check to avoid invalid reminders
This commit is contained in:
@ -32,7 +32,7 @@ class NotificationReceiver : BroadcastReceiver() {
|
||||
|
||||
context.updateListWidget()
|
||||
val event = context.eventsDB.getEventWithId(id)
|
||||
if (event == null || event.getReminders().none { it.type == REMINDER_NOTIFICATION }) {
|
||||
if (event == null || event.getReminders().none { it.type == REMINDER_NOTIFICATION } || event.repetitionExceptions.contains(Formatter.getTodayCode())) {
|
||||
return
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user