From fb0fbd0dcaf421ace86f4feff72a8b8c6388ab73 Mon Sep 17 00:00:00 2001 From: tibbi Date: Mon, 14 May 2018 23:42:45 +0200 Subject: [PATCH] make sure we set proper calendar id at creating events --- .../com/simplemobiletools/calendar/activities/EventActivity.kt | 1 + 1 file changed, 1 insertion(+) 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 85ead0720..f2bc8cdc6 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt @@ -528,6 +528,7 @@ class EventActivity : SimpleActivity() { event_caldav_calendar_email.beGoneIf(currentCalendar == null) if (currentCalendar == null) { + mEventCalendarId = STORED_LOCALLY_ONLY val mediumMargin = resources.getDimension(R.dimen.medium_margin).toInt() event_caldav_calendar_name.apply { text = getString(R.string.store_locally_only)