mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-16 20:00:39 +01:00
Check title before adding event to db
This commit is contained in:
parent
cdab56e660
commit
13019e6835
@ -265,7 +265,7 @@ class CalDAVHelper(val context: Context) {
|
||||
}
|
||||
|
||||
// store the event in the local db only if it is an occurrence that has been modified and not deleted
|
||||
if (status != Events.STATUS_CANCELED) {
|
||||
if (status != Events.STATUS_CANCELED && title.isNotEmpty()) {
|
||||
val storedEventId = context.eventsDB.getEventIdWithImportId(importId)
|
||||
if (storedEventId != null) {
|
||||
event.id = storedEventId
|
||||
|
Loading…
x
Reference in New Issue
Block a user