Created
June 14, 2023 01:54
-
-
Save mattrob33/b392b05be44f7b59cefd4d78733d5522 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
fun Modifier.consumeTaps(): Modifier = composed { | |
clickable( | |
indication = null, | |
interactionSource = remember { MutableInteractionSource() } | |
) {} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment