mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 07:29:14 +01:00
pad the tab container so it matches the settings container height
This commit is contained in:
@@ -684,7 +684,11 @@ private fun LibraryTabs(
|
|||||||
Modifier
|
Modifier
|
||||||
.clip(RoundedCornerShape(8.dp))
|
.clip(RoundedCornerShape(8.dp))
|
||||||
.background(headerColor)
|
.background(headerColor)
|
||||||
.drawBehind {
|
.padding(6.dp),
|
||||||
|
) {
|
||||||
|
Box(
|
||||||
|
modifier =
|
||||||
|
Modifier.drawBehind {
|
||||||
if (current != null && indicatorLeft != null && indicatorRight != null) {
|
if (current != null && indicatorLeft != null && indicatorRight != null) {
|
||||||
drawRoundRect(
|
drawRoundRect(
|
||||||
color = indicatorColor,
|
color = indicatorColor,
|
||||||
@@ -720,6 +724,7 @@ private fun LibraryTabs(
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
Spacer(Modifier.weight(1f))
|
Spacer(Modifier.weight(1f))
|
||||||
if (syncing) {
|
if (syncing) {
|
||||||
CircularProgressIndicator(
|
CircularProgressIndicator(
|
||||||
|
|||||||
Reference in New Issue
Block a user