Skip to content

Commit

Permalink
[refactor] : mbtiRow 구문 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
ham2174 committed Feb 13, 2024
1 parent ffcf53f commit d18d788
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -328,15 +328,13 @@ private fun ClubRow(onSelectClub: (Club) -> Unit) {

@Composable
private fun MbtiRow(onSelectMbti: (MbtiItem) -> Unit, isSelectMbti: (MbtiItem) -> Boolean) {
val mbtiList = MbtiItem.entries.chunked(2)

Row {
FunchSmallLabel(text = ProfileLabel.MBTI.labelName)
Row(
modifier = Modifier.fillMaxWidth(),
horizontalArrangement = Arrangement.spacedBy(8.dp)
) {
mbtiList.forEachIndexed { i, pair ->
MbtiItem.entries.chunked(2).forEach { pair ->
Column(
modifier = Modifier
.background(color = Gray800, shape = FunchTheme.shapes.medium)
Expand Down

0 comments on commit d18d788

Please sign in to comment.