cancel the notifications of deleted events
This commit is contained in:
parent
3b96c23584
commit
15c55a649b
|
@ -287,6 +287,10 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
|||
|
||||
context.updateWidgets()
|
||||
mEventsListener?.eventsDeleted(ids.size)
|
||||
|
||||
ids.forEach {
|
||||
context.cancelNotification(it.toInt())
|
||||
}
|
||||
}
|
||||
|
||||
fun addEventRepeatException(parentEventId: Int, occurrenceTS: Int) {
|
||||
|
|
Loading…
Reference in New Issue