I'm upgrading my project from stable to latest alpha of compose and getting a deprecation error on clickable card that was refactored in 1.2.0-alpha06. What should I do about the
onClickLabel
param? Is the semantics modifier and content description the way to go?
l
Louis Pullen-Freilich [G]
04/26/2022, 11:39 AM
In most cases you shouldn't need to specify a label on card - since the semantics of content inside will be merged with the card. But yes, you can use Modifier.semantics if you explicitly want to set it at the card level