2026-05-04 20:34:59 -05:00
|
|
|
package solutions.tretter.esunandroid
|
2026-05-04 20:30:54 -05:00
|
|
|
|
|
|
|
|
import androidx.compose.foundation.gestures.detectTapGestures
|
|
|
|
|
import androidx.compose.ui.Modifier
|
|
|
|
|
import androidx.compose.ui.input.pointer.pointerInput
|
|
|
|
|
|
|
|
|
|
fun Modifier.noRippleTap(onTap: () -> Unit): Modifier =
|
|
|
|
|
pointerInput(Unit) {
|
|
|
|
|
detectTapGestures(onTap = { onTap() })
|
|
|
|
|
}
|