File tree 1 file changed +2
-1
lines changed
benchmarking/app/src/main/java/com/example/macrobenchmark_codelab/ui/components
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
18
18
19
19
import android.content.res.Configuration.UI_MODE_NIGHT_YES
20
20
import androidx.compose.foundation.BorderStroke
21
+ import androidx.compose.foundation.LocalIndication
21
22
import androidx.compose.foundation.background
22
23
import androidx.compose.foundation.clickable
23
24
import androidx.compose.foundation.indication
@@ -92,7 +93,7 @@ fun JetsnackButton(
92
93
minWidth = ButtonDefaults .MinWidth ,
93
94
minHeight = ButtonDefaults .MinHeight
94
95
)
95
- .indication(interactionSource, rememberRipple() )
96
+ .indication(interactionSource, LocalIndication .current )
96
97
.padding(contentPadding),
97
98
horizontalArrangement = Arrangement .Center ,
98
99
verticalAlignment = Alignment .CenterVertically ,
You can’t perform that action at this time.
0 commit comments