fix #1373, make sure the proper day is highlighted at the weekly view
This commit is contained in:
parent
0db772cdf9
commit
aa3d048468
|
@ -234,7 +234,7 @@ class WeekFragment : Fragment(), WeeklyCalendar {
|
|||
resources.getColor(R.color.theme_light_text_color)
|
||||
} else if (todayCode == dayCode) {
|
||||
primaryColor
|
||||
} else if (highlightWeekends && isWeekend(i, config.isSundayFirst)) {
|
||||
} else if (highlightWeekends && isWeekend(curDay.dayOfWeek - 1, config.isSundayFirst)) {
|
||||
resources.getColor(R.color.red_text)
|
||||
} else {
|
||||
config.textColor
|
||||
|
|
Loading…
Reference in New Issue