try fixing the glitch with multiple CalDAV synced event copies
This commit is contained in:
parent
27179145e1
commit
b532c7852e
1 changed files with 2 additions and 3 deletions
|
@ -240,9 +240,8 @@ class CalDAVHandler(val context: Context) {
|
|||
}
|
||||
|
||||
if (title.isNotEmpty()) {
|
||||
context.dbHelper.insert(event, false) {
|
||||
importIdsMap[event.importId] = event
|
||||
}
|
||||
importIdsMap[event.importId] = event
|
||||
context.dbHelper.insert(event, false) {}
|
||||
}
|
||||
}
|
||||
} while (cursor.moveToNext())
|
||||
|
|
Loading…
Reference in a new issue