Clickable modifier not working in Jetpack Compose
I am trying to implement an extension function on Modifier that would easily allow me to set a click action to a composable that would copy a specific text to the clipboard:
Here it is:
/**
* @param textCopied Text to be copied to the clipboard.
* @param clipLabel Label to identify the textCopied. Can be null.
*
* Android 13 shows a message when text has been copied to the clipboard natively, so we don't need to user that it has happened to avoid duplicate messages.
* This method copies...