Skip to content

Commit

Permalink
Merge pull request #201 from MohamedRejeb/0.6.x
Browse files Browse the repository at this point in the history
Sample: change container color for AdaptiveDatePicker and AdaptiveTimePicker
  • Loading branch information
MohamedRejeb authored Nov 10, 2024
2 parents 47e22ed + 595525c commit 05a85c0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@ fun DatePickerScreen(

AdaptiveDatePicker(
state = state,
colors = DatePickerDefaults.colors(
containerColor = MaterialTheme.colorScheme.surface
),
modifier = Modifier
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,9 @@ fun TimePickerScreen(

AdaptiveTimePicker(
state = state,
colors = TimePickerDefaults.colors(
containerColor = MaterialTheme.colorScheme.surface
),
modifier = Modifier
)
}
Expand Down

0 comments on commit 05a85c0

Please sign in to comment.