fix #1373, make sure the proper day is highlighted at the weekly view

This commit is contained in:
tibbi 2021-05-14 13:39:13 +02:00
parent 0db772cdf9
commit aa3d048468

View File

@ -234,7 +234,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 - 1, config.isSundayFirst)) {
resources.getColor(R.color.red_text) resources.getColor(R.color.red_text)
} else { } else {
config.textColor config.textColor