Skip to content

Commit b8aa26f

Browse files
Ghosutojoeyhuab
authored andcommitted
SystemUI: Update chip max width
Signed-off-by: Ghosuto <clash.raja10@gmail.com> Signed-off-by: Pranav Vashi <neobuddy89@gmail.com>
1 parent 6484043 commit b8aa26f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/SystemUI/src/com/android/systemui/statusbar/OngoingActionProgressCompose.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -572,7 +572,7 @@ private fun MusicChip(
572572
Row(
573573
modifier = Modifier
574574
.animateContentSize(animationSpec = tween(durationMillis = 300, easing = FastOutSlowInEasing))
575-
.widthIn(min = 55.dp, max = 85.dp)
575+
.widthIn(min = 55.dp, max = 90.dp)
576576
.padding(start = 4.dp)
577577
.clip(chipShape)
578578
.background(bg)
@@ -586,7 +586,7 @@ private fun MusicChip(
586586
Spacer(Modifier.width(4.dp))
587587
}
588588
var chipAtMaxWidth by remember { mutableStateOf(false) }
589-
val chipMaxWidthPx = with(androidx.compose.ui.platform.LocalDensity.current) { 85.dp.roundToPx() }
589+
val chipMaxWidthPx = with(androidx.compose.ui.platform.LocalDensity.current) { 90.dp.roundToPx() }
590590
Box(
591591
if (chipAtMaxWidth)
592592
Modifier.fadingEdge(

0 commit comments

Comments
 (0)