mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-03-07 04:47:40 +01:00
get proper event type title at inserting caldav events
This commit is contained in:
parent
a62fa7dd8e
commit
3f31762b3b
@ -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…
x
Reference in New Issue
Block a user