From 7a618de210553cdfacbe6fe117666efb4e9e107e Mon Sep 17 00:00:00 2001 From: tibbi Date: Fri, 7 Sep 2018 11:12:01 +0200 Subject: [PATCH] fix #571, make sure caldav synced events are saved in proper calendar --- .../com/simplemobiletools/calendar/activities/EventActivity.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt index 39224cbf2..56f91e58f 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt @@ -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 }