File tree Expand file tree Collapse file tree
app/src/main/java/com/maxrave/simpmusic/ui/screen/home Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,6 +17,7 @@ import androidx.compose.foundation.horizontalScroll
1717import androidx.compose.foundation.layout.Arrangement
1818import androidx.compose.foundation.layout.Box
1919import androidx.compose.foundation.layout.Column
20+ import androidx.compose.foundation.layout.PaddingValues
2021import androidx.compose.foundation.layout.Row
2122import androidx.compose.foundation.layout.Spacer
2223import androidx.compose.foundation.layout.WindowInsets
@@ -379,25 +380,14 @@ fun HomeScreen(
379380 LazyColumn (
380381 modifier =
381382 Modifier
382- .padding(horizontal = 15 .dp)
383- .padding(
384- top =
385- with (LocalDensity .current) {
386- topAppBarHeightPx.toDp()
387- },
388- ),
383+ .padding(horizontal = 15 .dp),
384+ contentPadding =
385+ PaddingValues (
386+ top = with (LocalDensity .current) { topAppBarHeightPx.toDp() },
387+ ),
389388 state = scrollState,
390389 verticalArrangement = Arrangement .spacedBy(28 .dp),
391390 ) {
392- // item {
393- // Spacer(
394- // Modifier.height(
395- // with(LocalDensity.current) {
396- // (topAppBarHeightPx.toDp().value - 16f).coerceAtLeast(0f).dp
397- // },
398- // ),
399- // )
400- // }
401391 item {
402392 Column {
403393 if (accountInfo != null && accountShow) {
You can’t perform that action at this time.
0 commit comments