Skip to content

Commit

Permalink
Fix bug padding in Choose Tracks Dialog (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnk123 authored Feb 8, 2025
1 parent 17533fa commit f533e1d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ internal fun FormatsBottomSheet(
state = pagerState,
userScrollEnabled = false,
verticalAlignment = Alignment.Top,
modifier = Modifier.heightIn(240.dp)
modifier = Modifier.height(240.dp)
) { page ->
val type = typesIndexed[page]
val currentFormats = formatsIndexed[page]
Expand Down Expand Up @@ -119,7 +119,7 @@ internal fun FormatsBottomSheet(
SingleChoiceSegmentedButtonRow(
modifier = Modifier
.fillMaxWidth()
.padding(horizontal = spacing.medium)
.padding(horizontal = spacing.medium, vertical = spacing.small)
) {
formats.entries.forEachIndexed { index, (type, _) ->
val icon = when (type) {
Expand Down

0 comments on commit f533e1d

Please sign in to comment.