diff --git a/app/src/main/java/com/p_vacho/neat_calendar/activities/CreateEventActivity.kt b/app/src/main/java/com/p_vacho/neat_calendar/activities/CreateEventActivity.kt index 653fbcb..5d1c6bd 100644 --- a/app/src/main/java/com/p_vacho/neat_calendar/activities/CreateEventActivity.kt +++ b/app/src/main/java/com/p_vacho/neat_calendar/activities/CreateEventActivity.kt @@ -109,10 +109,12 @@ class CreateEventActivity : AppCompatActivity() { txtStartTime.setText(formatDateTime(startDateTime)) if (endDateTime != startDateTime) { + eventTypeToggleGroup.check(R.id.btnDurationEvent) instantEvent = false txtEndTime.visibility = View.VISIBLE txtEndTime.setText(formatDateTime(endDateTime)) } else { + eventTypeToggleGroup.check(R.id.btnInstantEvent) instantEvent = true endDateTime = null txtEndTime.visibility = View.GONE diff --git a/showcase/10_instant_event_details.png b/showcase/10_instant_event_details.png index ebe1e82..ad7277e 100644 Binary files a/showcase/10_instant_event_details.png and b/showcase/10_instant_event_details.png differ