Skip to content

Commit

Permalink
fix rememberRipple
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurKun21 authored Sep 5, 2024
1 parent 991c880 commit 2b5ea42
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -88,6 +88,6 @@ fun Modifier.holdRepeatClickable(
}
.indication(
interactionSource = interactionSource,
indication = rememberRipple()
indication = ripple()
)
}

0 comments on commit 2b5ea42

Please sign in to comment.