mirror of
https://github.com/SimpleMobileTools/Simple-Calendar.git
synced 2025-02-17 20:30:58 +01:00
fix weekly view highlighting weekends incorrectly
This commit is contained in:
parent
57327a7b5a
commit
deec13364d
@ -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 - 1, config.isSundayFirst)) {
|
||||
} else if (highlightWeekends && isWeekend(i, config.isSundayFirst)) {
|
||||
resources.getColor(R.color.red_text)
|
||||
} else {
|
||||
config.textColor
|
||||
|
Loading…
x
Reference in New Issue
Block a user