fix #695, allow filtering out CalDAV synced calendars

This commit is contained in:
tibbi 2018-11-18 16:41:58 +01:00
parent c6299225c2
commit 66ceb69d01

View File

@ -39,7 +39,9 @@ class EventsHelper(val context: Context) {
}
val newId = eventTypesDB.insertOrUpdate(eventType)
config.addDisplayEventType(newId.toString())
if (eventType.id == null) {
config.addDisplayEventType(newId.toString())
}
return newId
}