get proper event type title at inserting caldav events
This commit is contained in:
parent
a62fa7dd8e
commit
3f31762b3b
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ import java.util.*
|
|||
class CalDAVEventsHandler(val context: Context) {
|
||||
fun refreshCalendars(callback: () -> Unit) {
|
||||
getCalDAVCalendars(context.config.caldavSyncedCalendarIDs).forEach {
|
||||
val eventTypeId = context.dbHelper.getEventTypeIdWithTitle(it.displayName)
|
||||
val eventTypeId = context.dbHelper.getEventTypeIdWithTitle("${it.displayName} (${it.accountName})")
|
||||
CalDAVEventsHandler(context).fetchCalDAVCalendarEvents(it.id, eventTypeId)
|
||||
}
|
||||
context.scheduleCalDAVSync(true)
|
||||
|
|
Loading…
Reference in a new issue