Thread
#compose
    Nat Strangerweather

    Nat Strangerweather

    1 year ago
    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

    Se7eN

    1 year ago
    For
    Icon
    , change the import from
    androidx.compose.foundation.Icon
    to
    androidx.compose.material.Icon
    For Button colors:
    Button(
        ...,
        colors = ButtonConstants.defaultButtonColors(backgroundColor = backgroundColor)
    )
    Nat Strangerweather

    Nat Strangerweather

    1 year ago
    Thanks, that's great! 😊
    a

    alorma

    1 year ago
    It's a bit verbose now...