diff --git a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt index 3d91e7cb3..0434c9fff 100644 --- a/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt +++ b/app/src/main/kotlin/com/simplemobiletools/calendar/pro/fragments/WeekFragment.kt @@ -558,6 +558,7 @@ class WeekFragment : Fragment(), WeeklyCalendar { } else { dimPastEvents && event.isPastEvent && !isPrintVersion } + if (adjustAlpha) { backgroundColor = backgroundColor.adjustAlpha(MEDIUM_ALPHA) textColor = textColor.adjustAlpha(HIGHER_ALPHA) @@ -698,10 +699,12 @@ class WeekFragment : Fragment(), WeeklyCalendar { } else { dimPastEvents && event.isPastEvent && !isPrintVersion } + if (adjustAlpha) { backgroundColor = backgroundColor.adjustAlpha(LOWER_ALPHA) textColor = textColor.adjustAlpha(HIGHER_ALPHA) } + background = ColorDrawable(backgroundColor) week_event_label.apply {