fix #571, make sure caldav synced events are saved in proper calendar

This commit is contained in:
tibbi 2018-09-07 11:12:01 +02:00
parent 289ac5dbf0
commit 7a618de210

View File

@ -691,7 +691,7 @@ class EventActivity : SimpleActivity() {
config.lastUsedLocalEventTypeId = newEventType
SOURCE_SIMPLE_CALENDAR
} else {
"$CALDAV-${config.lastUsedCaldavCalendarId}"
"$CALDAV-$mEventCalendarId"
}
val reminders = sortedSetOf(mReminder1Minutes, mReminder2Minutes, mReminder3Minutes).filter { it != REMINDER_OFF }