fix #1046, adding an extra check to avoid invalid reminders
This commit is contained in:
parent
9535c5ec5d
commit
d9fe64d584
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue