Skip to content

Commit

Permalink
Merge pull request #135 from MohamedRejeb/0.5.x
Browse files Browse the repository at this point in the history
iOS set AdaptiveDatePicker tintColor using selectedDayContainerColor
  • Loading branch information
MohamedRejeb authored Jul 25, 2024
2 parents 23bc0df + 6ffef24 commit 70d2742
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ class DatePickerManager @OptIn(ExperimentalMaterial3Api::class) internal constru

fun applyColors(colors: DatePickerColors) {
applyTheme(isDark = !isDark(colors.dayContentColor))
datePicker.tintColor = colors.selectedDayContentColor.toUIColor()
datePicker.tintColor = colors.selectedDayContainerColor.toUIColor()
datePicker.backgroundColor = colors.containerColor.toUIColor()
}

Expand Down

0 comments on commit 70d2742

Please sign in to comment.