From 4bcc4dcca72af179b664c624e4fd6450e71293ad Mon Sep 17 00:00:00 2001 From: B14CK313 Date: Sun, 12 Dec 2021 21:55:01 +0100 Subject: [PATCH] Fixed parameter `isSundayFirst` of `isWeekend` call --- .../simplemobiletools/calendar/pro/fragments/WeekFragment.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 e1ea1473e..da445b7a9 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 @@ -217,7 +217,7 @@ class WeekFragment : Fragment(), WeeklyCalendar { resources.getColor(R.color.theme_light_text_color) } else if (todayCode == dayCode) { primaryColor - } else if (highlightWeekends && isWeekend(curDay.dayOfWeek, !config.isSundayFirst)) { + } else if (highlightWeekends && isWeekend(curDay.dayOfWeek, true)) { config.highlightWeekendsColor } else { config.textColor