You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I think we need to add a color parameter in the unselected year state. You can add the unselectedColor parameter to the CalendarYearView function and use it when displaying the text color. Then instead of a hard-coded color in the string color = if (year == selectedYear) themeColor else Color.Black, you can do this: color = if (year == selectedYear) themeColor else unselectedColor . This is so that if a dark theme is enabled on the device, the text was not black.
The text was updated successfully, but these errors were encountered:
Hi!
I think we need to add a color parameter in the unselected year state. You can add the unselectedColor parameter to the CalendarYearView function and use it when displaying the text color. Then instead of a hard-coded color in the string
color = if (year == selectedYear) themeColor else Color.Black
, you can do this:color = if (year == selectedYear) themeColor else unselectedColor
. This is so that if a dark theme is enabled on the device, the text was not black.The text was updated successfully, but these errors were encountered: