Fixed
Status Update
Comments
ap...@google.com <ap...@google.com> #2
After upgrading to kotlin 2.1.0 and bumping remaining dependencies, things seem to work as expected again. EDIT: My bad; was on the wrong branch. Those upgrades did NOT help.
Description
mvivo@ faced it(his screenshot is in attachment:
"I used a plain ButtonStyle because border in the other implementations cannot be null
This is my button
style = ButtonStyle(
backgroundColor = MaterialTheme.colors().primary,
contentColor = MaterialTheme.colors().onSurface,
shape = RoundedCornerShape(16.dp),
border = if (selected) Border(color = Color.White, width = 2.dp) else null
)
Couldn't use ContainedButtonStyle because it has no border, couldn't use OutlinedButtonStyle because border cannot be null, and neither TextButtonStyle because of all the above"