Hello! Since updating to alpha_06, I have the foll...
# compose
n
Hello! Since updating to alpha_06, I have the following errors and I can't find any solution in the release notes. I see that "backgroundColor" was replaced with "colors" for the Button, but I don't know how to implement this. Does anyone know what I need to use in the three snippets? Cheers!
s
For
Icon
, change the import from
androidx.compose.foundation.Icon
to
androidx.compose.material.Icon
For Button colors:
Copy code
Button(
    ...,
    colors = ButtonConstants.defaultButtonColors(backgroundColor = backgroundColor)
)
n
Thanks, that's great! 😊
👍 1
a
It's a bit verbose now...