mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
make sure we set proper calendar id at creating events
This commit is contained in:
@@ -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)
|
||||||
|
Reference in New Issue
Block a user