Merge pull request #1577 from B14CK313/master

Fix: Wrong days highlighted in week view
This commit is contained in:
Tibor Kaputa
2021-12-20 19:48:58 +01:00
committed by GitHub

View File

@@ -217,7 +217,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
resources.getColor(R.color.theme_light_text_color) resources.getColor(R.color.theme_light_text_color)
} else if (todayCode == dayCode) { } else if (todayCode == dayCode) {
primaryColor primaryColor
} else if (highlightWeekends && isWeekend(i, config.isSundayFirst)) { } else if (highlightWeekends && isWeekend(curDay.dayOfWeek, true)) {
config.highlightWeekendsColor config.highlightWeekendsColor
} else { } else {
config.textColor config.textColor