Skip to content

Commit

Permalink
fix: noRippleClickable modifier factory error (openedx#311)
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyr-chekyrta authored May 6, 2024
1 parent 29e1c8e commit d2718ce
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ fun Modifier.displayCutoutForLandscape(): Modifier = composed {
}

inline fun Modifier.noRippleClickable(crossinline onClick: () -> Unit): Modifier = composed {
clickable(
this then Modifier.clickable(
indication = null,
interactionSource = remember { MutableInteractionSource() }) {
onClick()
Expand Down

0 comments on commit d2718ce

Please sign in to comment.