cancel the notifications of deleted events

This commit is contained in:
tibbi 2017-04-17 17:07:13 +02:00
parent 3b96c23584
commit 15c55a649b
1 changed files with 4 additions and 0 deletions

View File

@ -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) {