Skip to content

Commit

Permalink
Replace rememberRipple with ripple
Browse files Browse the repository at this point in the history
  • Loading branch information
russellbanks committed Sep 17, 2024
1 parent 8b5c621 commit 3952117
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ import androidx.compose.material.icons.rounded.Add
import androidx.compose.material.icons.rounded.CheckCircle
import androidx.compose.material.icons.rounded.Search
import androidx.compose.material.icons.rounded.Spa
import androidx.compose.material.ripple.rememberRipple
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.FabPosition
import androidx.compose.material3.FloatingActionButton
Expand All @@ -43,6 +42,7 @@ import androidx.compose.material3.OutlinedTextField
import androidx.compose.material3.Scaffold
import androidx.compose.material3.Text
import androidx.compose.material3.rememberModalBottomSheetState
import androidx.compose.material3.ripple
import androidx.compose.runtime.Composable
import androidx.compose.runtime.getValue
import androidx.compose.runtime.livedata.observeAsState
Expand Down Expand Up @@ -145,7 +145,7 @@ fun InsideListScreen(
.clip(MaterialTheme.shapes.medium)
.indication(
interactionSource = interactionSource,
indication = rememberRipple()
indication = ripple()
)
.pointerInput(Unit) {
detectTapGestures(
Expand Down

0 comments on commit 3952117

Please sign in to comment.