Fixed parameter isSundayFirst of isWeekend call

This commit is contained in:
B14CK313 2021-12-12 21:55:01 +01:00
parent 6722b0e627
commit 4bcc4dcca7

View file

@ -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