mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-04-16 19:17:20 +02:00
avoid importing ics files as duplicates
This commit is contained in:
parent
27e027dc7e
commit
585b51b0eb
@ -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…
x
Reference in New Issue
Block a user