mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
cancel the notifications of deleted events
This commit is contained in:
@@ -287,6 +287,10 @@ class DBHelper private constructor(val context: Context) : SQLiteOpenHelper(cont
|
|||||||
|
|
||||||
context.updateWidgets()
|
context.updateWidgets()
|
||||||
mEventsListener?.eventsDeleted(ids.size)
|
mEventsListener?.eventsDeleted(ids.size)
|
||||||
|
|
||||||
|
ids.forEach {
|
||||||
|
context.cancelNotification(it.toInt())
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
fun addEventRepeatException(parentEventId: Int, occurrenceTS: Int) {
|
fun addEventRepeatException(parentEventId: Int, occurrenceTS: Int) {
|
||||||
|
Reference in New Issue
Block a user