Skip to content

Commit

Permalink
chore: ktlintFormat
Browse files Browse the repository at this point in the history
  • Loading branch information
jinukeu committed Dec 4, 2023
1 parent 295dbcd commit 7873730
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ fun SuwikiSliderTrack(
value: Float,
valueRange: ClosedFloatingPointRange<Float>,
height: Dp = 6.dp,
shape: Shape = RoundedCornerShape(4.dp)
shape: Shape = RoundedCornerShape(4.dp),
) {
Box(
modifier = modifier
Expand All @@ -45,7 +45,7 @@ fun SuwikiSliderTrack(

private fun Modifier.track(
height: Dp = 6.dp,
shape: Shape = CircleShape
shape: Shape = CircleShape,
) = fillMaxWidth()
.heightIn(min = height)
.clip(shape)
Expand All @@ -54,7 +54,7 @@ private fun Modifier.progress(
value: Float,
valueRange: ClosedFloatingPointRange<Float>,
height: Dp = 6.dp,
shape: Shape = CircleShape
shape: Shape = CircleShape,
) =
fillMaxWidth(fraction = value / valueRange.endInclusive - valueRange.start)
.heightIn(min = height)
Expand Down

0 comments on commit 7873730

Please sign in to comment.