mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
even out the hero's side buttons around the play controls
The download and more blocks were different widths, so the play/shuffle pill sat off centre and the download hugged its edge closer than the more button. Both now take the same inset.
This commit is contained in:
@@ -303,6 +303,7 @@ fun HeroHeader(
|
|||||||
Box(
|
Box(
|
||||||
modifier =
|
modifier =
|
||||||
Modifier
|
Modifier
|
||||||
|
.padding(start = 8.dp)
|
||||||
.size(48.dp)
|
.size(48.dp)
|
||||||
.clip(CircleShape)
|
.clip(CircleShape)
|
||||||
.combinedClickable(
|
.combinedClickable(
|
||||||
@@ -378,7 +379,7 @@ fun HeroHeader(
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
IconButton(onClick = onMore, modifier = Modifier.padding(horizontal = 8.dp)) {
|
IconButton(onClick = onMore, modifier = Modifier.padding(end = 8.dp)) {
|
||||||
Icon(Icons.Rounded.MoreHoriz, contentDescription = "More options")
|
Icon(Icons.Rounded.MoreHoriz, contentDescription = "More options")
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user