mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-06-05 21:59:17 +02:00
fix #1373, make sure the proper day is highlighted at the weekly view
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user