adding some spacing

This commit is contained in:
Tibor Kaputa 2023-04-11 15:21:07 +02:00 committed by GitHub
parent 85e05f07a9
commit 2452f050a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -842,6 +842,7 @@ class EventActivity : SimpleActivity() {
} else { } else {
mEventColor mEventColor
} }
SelectEventColorDialog(activity = this, colors = eventColors, currentColor = currentColor) { newColor -> SelectEventColorDialog(activity = this, colors = eventColors, currentColor = currentColor) { newColor ->
if (newColor != currentColor) { if (newColor != currentColor) {
mEventColor = newColor mEventColor = newColor
@ -986,7 +987,10 @@ class EventActivity : SimpleActivity() {
updateAvailabilityImage() updateAvailabilityImage()
} }
} }
event_caldav_color_holder.setOnClickListener { showEventColorDialog() }
event_caldav_color_holder.setOnClickListener {
showEventColorDialog()
}
} else { } else {
updateCurrentCalendarInfo(null) updateCurrentCalendarInfo(null)
} }
@ -1013,6 +1017,7 @@ class EventActivity : SimpleActivity() {
event_caldav_calendar_holder.apply { event_caldav_calendar_holder.apply {
setPadding(paddingLeft, mediumMargin, paddingRight, mediumMargin) setPadding(paddingLeft, mediumMargin, paddingRight, mediumMargin)
} }
event_caldav_color_image.beGone() event_caldav_color_image.beGone()
event_caldav_color_holder.beGone() event_caldav_color_holder.beGone()
event_caldav_color_divider.beGone() event_caldav_color_divider.beGone()