diff --git a/app/src/main/java/io/github/fate_grand_automata/ui/HoldRepeatClickable.kt b/app/src/main/java/io/github/fate_grand_automata/ui/HoldRepeatClickable.kt index acbf01b61..7916ad2e0 100644 --- a/app/src/main/java/io/github/fate_grand_automata/ui/HoldRepeatClickable.kt +++ b/app/src/main/java/io/github/fate_grand_automata/ui/HoldRepeatClickable.kt @@ -5,7 +5,7 @@ import androidx.compose.foundation.gestures.detectTapGestures import androidx.compose.foundation.indication import androidx.compose.foundation.interaction.MutableInteractionSource import androidx.compose.foundation.interaction.PressInteraction -import androidx.compose.material.ripple.rememberRipple +import androidx.compose.material.ripple import androidx.compose.runtime.getValue import androidx.compose.runtime.remember import androidx.compose.runtime.rememberCoroutineScope @@ -88,6 +88,6 @@ fun Modifier.holdRepeatClickable( } .indication( interactionSource = interactionSource, - indication = rememberRipple() + indication = ripple() ) } \ No newline at end of file