Skip to content

Commit

Permalink
[fix/#841] fix section padding
Browse files Browse the repository at this point in the history
  • Loading branch information
leeeyubin committed Sep 25, 2024
1 parent ec770b6 commit c41961b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ import org.sopt.official.designsystem.Gray900
import org.sopt.official.designsystem.SoptTheme
import org.sopt.official.feature.mypage.model.MyPageUiModel
import kotlinx.collections.immutable.ImmutableList

@Composable
fun MyPageSection(items: ImmutableList<MyPageUiModel>) {
Column(
Expand All @@ -48,8 +49,8 @@ fun MyPageSection(items: ImmutableList<MyPageUiModel>) {
color = Gray900,
shape = RoundedCornerShape(10.dp)
)
.padding(top = 16.dp, bottom = 5.dp)
) {
Spacer(modifier = Modifier.height(16.dp))
items.forEach { item ->
when (item) {
is MyPageUiModel.Header -> {
Expand All @@ -71,6 +72,5 @@ fun MyPageSection(items: ImmutableList<MyPageUiModel>) {
}
}
}
Spacer(modifier = Modifier.height(5.dp))
}
}

0 comments on commit c41961b

Please sign in to comment.