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 bc769f89c..1e1e4842e 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/activities/EventActivity.kt @@ -73,10 +73,8 @@ class EventActivity : SimpleActivity(), DBHelper.EventUpdateListener { checkReminderTexts() updateRepetitionText() - updateStartDateText() - updateStartTimeText() - updateEndDateText() - updateEndTimeText() + updateStartTexts() + updateEndTexts() updateEventType() event_start_date.setOnClickListener { setupStartDate() } @@ -463,6 +461,11 @@ class EventActivity : SimpleActivity(), DBHelper.EventUpdateListener { } } + private fun updateStartTexts() { + updateStartDateText() + updateStartTimeText() + } + private fun updateStartDateText() { event_start_date.text = Formatter.getDate(applicationContext, mEventStartDateTime) }