avoid importing ics files as duplicates
This commit is contained in:
parent
27e027dc7e
commit
585b51b0eb
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ class EventsHelper(val context: Context) {
|
|||
context.updateWidgets()
|
||||
context.scheduleNextEventReminder(event, showToasts)
|
||||
|
||||
if (addToCalDAV && event.source != SOURCE_SIMPLE_CALENDAR && config.caldavSync) {
|
||||
if (addToCalDAV && config.caldavSync && event.source != SOURCE_SIMPLE_CALENDAR && event.source != SOURCE_IMPORTED_ICS) {
|
||||
context.calDAVHelper.insertCalDAVEvent(event)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue