mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix #695, allow filtering out CalDAV synced calendars
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user