Skip to content

Commit

Permalink
[chore] #206 금액 태그 String Mapper 적용
Browse files Browse the repository at this point in the history
  • Loading branch information
t1nm1ksun committed Aug 28, 2024
1 parent 5b6ccab commit 7c2459a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ fun CourseDetailScreen(
date = date,
title = title,
totalTime = totalTime,
totalCost = totalCost,
totalCostTag = totalCostTag,
city = city
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ fun CourseDetailBasicInfo(
date: String,
title: String,
totalTime: String,
totalCost: String,
totalCostTag: String,
city: String
) {
Column(
Expand All @@ -37,7 +37,7 @@ fun CourseDetailBasicInfo(
Spacer(modifier = Modifier.height(16.dp))
CourseDetailInfoBar(
totalTime = totalTime,
totalCost = totalCost,
totalCostTag = totalCostTag,
city = city
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import org.sopt.dateroad.ui.theme.DateRoadTheme

@Composable
fun CourseDetailInfoBar(
totalCost: String,
totalCostTag: String,
totalTime: String,
city: String
) {
Expand All @@ -31,7 +31,7 @@ fun CourseDetailInfoBar(
)
Spacer(modifier = Modifier.width(5.dp))
Text(
text = totalCost,
text = totalCostTag,
color = DateRoadTheme.colors.gray400,
style = DateRoadTheme.typography.bodySemi15
)
Expand Down Expand Up @@ -66,6 +66,6 @@ fun CourseDetailInfoBarPreview() {
CourseDetailInfoBar(
totalTime = "10",
city = "건대/성수/왕십리",
totalCost = "50000"
totalCostTag = "50000"
)
}

0 comments on commit 7c2459a

Please sign in to comment.