Merge pull request #2086 from nelath/master

Fixed recurring event repetition exception issue
This commit is contained in:
Tibor Kaputa 2023-06-08 17:53:46 +02:00 committed by GitHub
commit de48e387b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -264,9 +264,6 @@ class CalDAVHelper(val context: Context) {
parentEvent.addRepetitionException(originalDayCode) parentEvent.addRepetitionException(originalDayCode)
eventsHelper.insertEvent(parentEvent, addToCalDAV = false, showToasts = false) eventsHelper.insertEvent(parentEvent, addToCalDAV = false, showToasts = false)
event.parentId = parentEvent.id!!
event.addRepetitionException(originalDayCode)
eventsHelper.insertEvent(event, addToCalDAV = false, showToasts = false)
return@queryCursorInlined return@queryCursorInlined
} }
} }