diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/EventsHelper.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/EventsHelper.kt index 7077edbb3..8ec0b1fce 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/EventsHelper.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/helpers/EventsHelper.kt @@ -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) }