mirror of
https://github.com/austinried/subtracks.git
synced 2026-11-11 15:29:15 +01:00
align the library title and tabs with the album grid
This commit is contained in:
@@ -197,7 +197,7 @@ fun LibraryScreen(
|
|||||||
Modifier
|
Modifier
|
||||||
.offset(y = -(titleHeight * titleFraction))
|
.offset(y = -(titleHeight * titleFraction))
|
||||||
.wrapContentHeight(unbounded = true)
|
.wrapContentHeight(unbounded = true)
|
||||||
.padding(start = 16.dp, end = 16.dp, top = titleTop),
|
.padding(start = 8.dp, end = 16.dp, top = titleTop),
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
LibraryTabs(
|
LibraryTabs(
|
||||||
@@ -243,7 +243,7 @@ private fun LibraryTabs(
|
|||||||
Box(
|
Box(
|
||||||
Modifier
|
Modifier
|
||||||
.fillMaxWidth()
|
.fillMaxWidth()
|
||||||
.padding(horizontal = 12.dp),
|
.padding(start = 8.dp, end = 12.dp),
|
||||||
) {
|
) {
|
||||||
bounds[page]?.let { current ->
|
bounds[page]?.let { current ->
|
||||||
val neighbour = bounds[if (fraction >= 0f) page + 1 else page - 1]
|
val neighbour = bounds[if (fraction >= 0f) page + 1 else page - 1]
|
||||||
|
|||||||
Reference in New Issue
Block a user