cancel the notifications of deleted events
This commit is contained in:
parent
3b96c23584
commit
15c55a649b
1 changed files with 4 additions and 0 deletions
|
@ -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 a new issue