Skip to content
This repository has been archived by the owner on Mar 8, 2024. It is now read-only.

Commit

Permalink
♻️ :: recommends lazy column padding 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Tmdhoon2 committed Nov 23, 2023
1 parent f008165 commit a4ef1ab
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import androidx.compose.foundation.Image
import androidx.compose.foundation.layout.Arrangement
import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.Column
import androidx.compose.foundation.layout.PaddingValues
import androidx.compose.foundation.layout.fillMaxHeight
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.foundation.layout.fillMaxWidth
Expand All @@ -15,6 +16,7 @@ import androidx.compose.runtime.Composable
import androidx.compose.runtime.LaunchedEffect
import androidx.compose.runtime.collectAsState
import androidx.compose.runtime.getValue
import androidx.compose.runtime.mutableStateListOf
import androidx.compose.runtime.snapshots.SnapshotStateList
import androidx.compose.ui.Alignment
import androidx.compose.ui.Modifier
Expand Down Expand Up @@ -104,7 +106,7 @@ internal fun Recommends(
moveToRecommendDetails: (feedId: UUID) -> Unit,
recommends: () -> SnapshotStateList<RecommendsEntity.Recommend>,
) {
LazyColumn {
LazyColumn(contentPadding = PaddingValues(vertical = 16.dp)) {
items(recommends()) {
DiaryItemList(
moveToDiaryDetails = { moveToRecommendDetails(it.id) },
Expand Down

0 comments on commit a4ef1ab

Please sign in to comment.