From 2452f050a99830b92370d3a98f99676b3321deab Mon Sep 17 00:00:00 2001 From: Tibor Kaputa Date: Tue, 11 Apr 2023 15:21:07 +0200 Subject: [PATCH] adding some spacing --- .../calendar/pro/activities/EventActivity.kt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt index d0b5d94b8..e067183de 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/activities/EventActivity.kt @@ -842,6 +842,7 @@ class EventActivity : SimpleActivity() { } else { mEventColor } + SelectEventColorDialog(activity = this, colors = eventColors, currentColor = currentColor) { newColor -> if (newColor != currentColor) { mEventColor = newColor @@ -986,7 +987,10 @@ class EventActivity : SimpleActivity() { updateAvailabilityImage() } } - event_caldav_color_holder.setOnClickListener { showEventColorDialog() } + + event_caldav_color_holder.setOnClickListener { + showEventColorDialog() + } } else { updateCurrentCalendarInfo(null) } @@ -1013,6 +1017,7 @@ class EventActivity : SimpleActivity() { event_caldav_calendar_holder.apply { setPadding(paddingLeft, mediumMargin, paddingRight, mediumMargin) } + event_caldav_color_image.beGone() event_caldav_color_holder.beGone() event_caldav_color_divider.beGone()