Skip to content

Commit

Permalink
chore : 후행 쉼표 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
Gael-Android committed Feb 3, 2024
1 parent d2373b2 commit cc899e0
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,10 @@ fun DoubleTitleTopBar(
modifier = modifier
.fillMaxWidth()
.height(72.dp),
contentPadding = PaddingValues(end = 4.dp)
contentPadding = PaddingValues(end = 4.dp),
) {
Box(
modifier = Modifier.fillMaxWidth()
modifier = Modifier.fillMaxWidth(),
) {

Row {
Expand All @@ -44,18 +44,18 @@ fun DoubleTitleTopBar(
start = 16.dp,
top = 12.dp,
end = 16.dp,
bottom = 8.dp
bottom = 8.dp,
)
) {
YdsText(
text = subtitle,
style = YdsTheme.typography.body2,
color = YdsTheme.colors.textPrimary
color = YdsTheme.colors.textPrimary,
)
YdsText(
text = title,
style = YdsTheme.typography.title2,
color = YdsTheme.colors.textPrimary
color = YdsTheme.colors.textPrimary,
)
}
}
Expand All @@ -64,7 +64,7 @@ fun DoubleTitleTopBar(
modifier = Modifier
.padding(top = 16.dp)
.align(Alignment.BottomEnd),
verticalAlignment = Alignment.CenterVertically
verticalAlignment = Alignment.CenterVertically,
) {
actions()
}
Expand All @@ -90,17 +90,17 @@ private fun PreviewDoubleTitleTopBar() {
actions = {
TopBarButton(
icon = R.drawable.ic_ground_filled,
isDisabled = false
isDisabled = false,
)
TopBarButton(
icon = R.drawable.ic_ground_filled,
isDisabled = false
isDisabled = false,
)
TopBarButton(
icon = R.drawable.ic_ground_filled,
isDisabled = false
isDisabled = false,
)
}
},
)
}
) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ fun SingleTitleTopBar(
modifier = modifier
.fillMaxWidth()
.height(56.dp),
contentPadding = PaddingValues(end = 4.dp)
contentPadding = PaddingValues(end = 4.dp),
) {
Box(
modifier = Modifier
.fillMaxWidth()
.fillMaxWidth(),
) {
Row {
navigationIcon()
Expand All @@ -45,7 +45,7 @@ fun SingleTitleTopBar(
.wrapContentHeight(),
text = title,
style = YdsTheme.typography.title2,
color = YdsTheme.colors.textPrimary
color = YdsTheme.colors.textPrimary,
)
}

Expand All @@ -54,7 +54,7 @@ fun SingleTitleTopBar(
.fillMaxHeight()
.padding(0.dp)
.align(Alignment.TopEnd),
verticalAlignment = Alignment.CenterVertically
verticalAlignment = Alignment.CenterVertically,
) {
actions()
}
Expand All @@ -79,17 +79,17 @@ private fun PreviewSingleTitleTopBar() {
actions = {
TopBarButton(
icon = R.drawable.ic_ground_filled,
isDisabled = false
isDisabled = false,
)
TopBarButton(
icon = R.drawable.ic_ground_filled,
isDisabled = false
isDisabled = false,
)
TopBarButton(
icon = R.drawable.ic_ground_filled,
isDisabled = false
isDisabled = false,
)
}
},
)
}
) {
Expand Down

0 comments on commit cc899e0

Please sign in to comment.