henrikhorbovyi
09/09/2024, 6:27 PMfun Modifier.clickableWithoutRipple(onClick: () -> Unit): Modifier = composed {
this then Modifier
.clickable(
indication = null,
interactionSource = remember { MutableInteractionSource() },
onClick = onClick
)
}
But ktlint complains about the use of composed{} and it also complains if I replace it by @Composable , can I use Modifier.Node to solve this? If yes, can you give me a help with that?ephemient
09/09/2024, 6:41 PMremember, use
Modifier.clickable(
interactionSource = null,henrikhorbovyi
09/09/2024, 6:53 PM