make the edge-facing tab and settings corners square and flush

This commit is contained in:
austinried
2026-10-04 00:29:57 +00:00
parent 4fcdf7f5fb
commit f07d1a66c9
@@ -669,11 +669,7 @@ private fun LibraryTabs(
val headerColor = artwork?.let(::playerSurfaceColor) ?: MaterialTheme.colorScheme.background
val indicatorColor = artwork?.scheme?.primary ?: MaterialTheme.colorScheme.onBackground
Box(
Modifier
.fillMaxWidth()
.padding(start = 8.dp, end = 12.dp),
) {
Box(Modifier.fillMaxWidth()) {
Row(
modifier = Modifier.fillMaxWidth(),
verticalAlignment = Alignment.CenterVertically,
@@ -682,7 +678,7 @@ private fun LibraryTabs(
Box(
modifier =
Modifier
.clip(RoundedCornerShape(8.dp))
.clip(RoundedCornerShape(topEnd = 8.dp, bottomEnd = 8.dp))
.background(headerColor)
.padding(6.dp),
) {
@@ -735,7 +731,7 @@ private fun LibraryTabs(
Box(
modifier =
Modifier
.clip(RoundedCornerShape(8.dp))
.clip(RoundedCornerShape(topStart = 8.dp, bottomStart = 8.dp))
.background(headerColor),
) {
IconButton(onClick = onOpenSettings) {