Skip to content

Commit d2718ce

Browse files
fix: noRippleClickable modifier factory error (#311)
1 parent 29e1c8e commit d2718ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/java/org/openedx/core/ui/ComposeExtensions.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fun Modifier.displayCutoutForLandscape(): Modifier = composed {
9292
}
9393

9494
inline fun Modifier.noRippleClickable(crossinline onClick: () -> Unit): Modifier = composed {
95-
clickable(
95+
this then Modifier.clickable(
9696
indication = null,
9797
interactionSource = remember { MutableInteractionSource() }) {
9898
onClick()

0 commit comments

Comments
 (0)