adding some empty lines

This commit is contained in:
Tibor Kaputa 2022-05-18 17:08:05 +02:00 committed by GitHub
parent 6799331973
commit 745f404dca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -558,6 +558,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
} else { } else {
dimPastEvents && event.isPastEvent && !isPrintVersion dimPastEvents && event.isPastEvent && !isPrintVersion
} }
if (adjustAlpha) { if (adjustAlpha) {
backgroundColor = backgroundColor.adjustAlpha(MEDIUM_ALPHA) backgroundColor = backgroundColor.adjustAlpha(MEDIUM_ALPHA)
textColor = textColor.adjustAlpha(HIGHER_ALPHA) textColor = textColor.adjustAlpha(HIGHER_ALPHA)
@ -698,10 +699,12 @@ class WeekFragment : Fragment(), WeeklyCalendar {
} else { } else {
dimPastEvents && event.isPastEvent && !isPrintVersion dimPastEvents && event.isPastEvent && !isPrintVersion
} }
if (adjustAlpha) { if (adjustAlpha) {
backgroundColor = backgroundColor.adjustAlpha(LOWER_ALPHA) backgroundColor = backgroundColor.adjustAlpha(LOWER_ALPHA)
textColor = textColor.adjustAlpha(HIGHER_ALPHA) textColor = textColor.adjustAlpha(HIGHER_ALPHA)
} }
background = ColorDrawable(backgroundColor) background = ColorDrawable(backgroundColor)
week_event_label.apply { week_event_label.apply {