mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 12:20:51 +01:00
fix #695, allow filtering out CalDAV synced calendars
This commit is contained in:
parent
c6299225c2
commit
66ceb69d01
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user