Skip to content

Commit

Permalink
Update Compose UI
Browse files Browse the repository at this point in the history
  • Loading branch information
saket committed Nov 27, 2024
1 parent 91c3c1f commit f1e1953
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions gradle/libs.versions.toml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
[versions]
minSdk = "21"
compileSdk = "34"
kotlin = "1.9.22"
kotlin = "1.9.25"
agp = "8.7.2"
compose-ui = "1.6.1" # https://developer.android.com/jetpack/androidx/releases/compose-ui
compose-compiler = "1.5.8" # https://developer.android.com/jetpack/androidx/releases/compose-compiler
compose-material3 = "1.2.0" # https://developer.android.com/jetpack/androidx/releases/compose-material3
androidx-appcompat = "1.6.1"
compose-ui = "1.7.5" # https://developer.android.com/jetpack/androidx/releases/compose-ui
compose-compiler = "1.5.15" # https://developer.android.com/jetpack/androidx/releases/compose-compiler
compose-material3 = "1.3.1" # https://developer.android.com/jetpack/androidx/releases/compose-material3
androidx-appcompat = "1.7.0"
androidx-activity = "1.8.2" # https://developer.android.com/jetpack/androidx/releases/activity
paparazzi = "1.3.4" # https://github.com/cashapp/paparazzi/releases
mavenPublish = "0.27.0" # https://github.com/vanniktech/gradle-maven-publish-plugin/releases
Expand Down
4 changes: 2 additions & 2 deletions library/src/main/kotlin/me/saket/squiggles/SquigglySlider.kt
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ import androidx.compose.foundation.layout.height
import androidx.compose.foundation.layout.size
import androidx.compose.foundation.layout.sizeIn
import androidx.compose.foundation.shape.RoundedCornerShape
import androidx.compose.material.ripple.rememberRipple
import androidx.compose.material3.ExperimentalMaterial3Api
import androidx.compose.material3.Slider
import androidx.compose.material3.SliderColors
import androidx.compose.material3.SliderDefaults
import androidx.compose.material3.SliderState
import androidx.compose.material3.ripple
import androidx.compose.runtime.Composable
import androidx.compose.runtime.Immutable
import androidx.compose.runtime.Stable
Expand Down Expand Up @@ -158,7 +158,7 @@ object SquigglySlider {
.size(thumbSize)
.indication(
interactionSource = interactionSource,
indication = rememberRipple(
indication = ripple(
bounded = false,
radius = maxOf(thumbSize.width, thumbSize.height) + 4.dp,
)
Expand Down

0 comments on commit f1e1953

Please sign in to comment.