Skip to content

Commit

Permalink
Use radius for the samples
Browse files Browse the repository at this point in the history
  • Loading branch information
skydoves committed Dec 30, 2024
1 parent 4fbfa9d commit b977011
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/src/main/kotlin/com/skydoves/cloudydemo/Main.kt
Original file line number Diff line number Diff line change
Expand Up @@ -75,12 +75,12 @@ fun Main() {
GlideImage(
modifier = Modifier
.size(400.dp)
.cloudy(radius = 30),
.cloudy(radius = radius),
previewPlaceholder = painterResource(id = R.drawable.poster),
imageModel = { poster.image }
)

Column(modifier = Modifier.cloudy(radius = 30)) {
Column(modifier = Modifier.cloudy(radius = radius)) {
Text(
modifier = Modifier
.fillMaxWidth()
Expand Down

0 comments on commit b977011

Please sign in to comment.