diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/CalDAVHandler.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/CalDAVHandler.kt index a190777ca..450eb2b58 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/CalDAVHandler.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/helpers/CalDAVHandler.kt @@ -219,7 +219,7 @@ class CalDAVHandler(val context: Context) { if (cursor != null && cursor.moveToFirst()) { do { val id = cursor.getLongValue(CalendarContract.Events._ID) - val title = cursor.getStringValue(CalendarContract.Events.TITLE) ?: continue + val title = cursor.getStringValue(CalendarContract.Events.TITLE) ?: "" val description = cursor.getStringValue(CalendarContract.Events.DESCRIPTION) ?: "" val startTS = (cursor.getLongValue(CalendarContract.Events.DTSTART) / 1000).toInt() var endTS = (cursor.getLongValue(CalendarContract.Events.DTEND) / 1000).toInt()