mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2024-12-27 00:33:53 +01:00
try fixing the glitch with multiple CalDAV synced event copies
This commit is contained in:
parent
27179145e1
commit
b532c7852e
@ -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())
|
||||||
|
Loading…
Reference in New Issue
Block a user