try fixing the glitch with multiple CalDAV synced event copies

This commit is contained in:
tibbi 2018-11-14 10:01:47 +01:00
parent 27179145e1
commit b532c7852e

View File

@ -240,9 +240,8 @@ class CalDAVHandler(val context: Context) {
} }
if (title.isNotEmpty()) { if (title.isNotEmpty()) {
context.dbHelper.insert(event, false) {
importIdsMap[event.importId] = event importIdsMap[event.importId] = event
} context.dbHelper.insert(event, false) {}
} }
} }
} while (cursor.moveToNext()) } while (cursor.moveToNext())