File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
benchmarking/app/src/main/java/com/example/macrobenchmark_codelab/ui/components Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -18,6 +18,7 @@ package com.example.macrobenchmark_codelab.ui.components
1818
1919import android.content.res.Configuration.UI_MODE_NIGHT_YES
2020import androidx.compose.foundation.BorderStroke
21+ import androidx.compose.foundation.LocalIndication
2122import androidx.compose.foundation.background
2223import androidx.compose.foundation.clickable
2324import androidx.compose.foundation.indication
@@ -92,7 +93,7 @@ fun JetsnackButton(
9293 minWidth = ButtonDefaults .MinWidth ,
9394 minHeight = ButtonDefaults .MinHeight
9495 )
95- .indication(interactionSource, rememberRipple() )
96+ .indication(interactionSource, LocalIndication .current )
9697 .padding(contentPadding),
9798 horizontalArrangement = Arrangement .Center ,
9899 verticalAlignment = Alignment .CenterVertically ,
You can’t perform that action at this time.
0 commit comments