oday
09/08/2022, 2:52 PMactive
flag is false, and 1 if it’s true, is there a nicer way to do it than adding alpha = if (active) 1f else 0.5f
to each composable inside?Luke
09/08/2022, 3:05 PMModifier.alpha(if (active) 1f else 0.5f)
on the parent works?oday
09/08/2022, 3:08 PModay
09/08/2022, 3:23 PMLuke
09/08/2022, 5:52 PModay
09/09/2022, 8:32 AMJohn Nichol
09/10/2022, 5:02 AM