make sure we set proper calendar id at creating events
This commit is contained in:
parent
3fd71c0d92
commit
fb0fbd0dca
|
@ -528,6 +528,7 @@ class EventActivity : SimpleActivity() {
|
||||||
event_caldav_calendar_email.beGoneIf(currentCalendar == null)
|
event_caldav_calendar_email.beGoneIf(currentCalendar == null)
|
||||||
|
|
||||||
if (currentCalendar == null) {
|
if (currentCalendar == null) {
|
||||||
|
mEventCalendarId = STORED_LOCALLY_ONLY
|
||||||
val mediumMargin = resources.getDimension(R.dimen.medium_margin).toInt()
|
val mediumMargin = resources.getDimension(R.dimen.medium_margin).toInt()
|
||||||
event_caldav_calendar_name.apply {
|
event_caldav_calendar_name.apply {
|
||||||
text = getString(R.string.store_locally_only)
|
text = getString(R.string.store_locally_only)
|
||||||
|
|
Loading…
Reference in New Issue