Skip to content

Commit a76b1dd

Browse files
committed
Chore: 제보완료 content text 정렬 추가
1 parent c4e0549 commit a76b1dd

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • presentation/src/main/java/com/threegap/bitnagil/presentation/screen/reportwrite/component

presentation/src/main/java/com/threegap/bitnagil/presentation/screen/reportwrite/component/CompleteReportCard.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ import androidx.compose.ui.Alignment
1616
import androidx.compose.ui.Modifier
1717
import androidx.compose.ui.draw.clip
1818
import androidx.compose.ui.layout.ContentScale
19-
import androidx.compose.ui.platform.LocalContext
2019
import androidx.compose.ui.text.style.TextAlign
2120
import androidx.compose.ui.tooling.preview.Preview
2221
import androidx.compose.ui.unit.dp
@@ -34,8 +33,6 @@ fun CompleteReportCard(
3433
images: List<String>,
3534
modifier: Modifier = Modifier,
3635
) {
37-
val context = LocalContext.current
38-
3936
Column(
4037
modifier = modifier
4138
.background(
@@ -59,6 +56,7 @@ fun CompleteReportCard(
5956
text = title,
6057
color = BitnagilTheme.colors.coolGray10,
6158
style = BitnagilTheme.typography.body1Medium,
59+
textAlign = TextAlign.End,
6260
)
6361
}
6462

@@ -69,6 +67,7 @@ fun CompleteReportCard(
6967
text = category?.displayTitle ?: "카테고리 없음",
7068
color = BitnagilTheme.colors.coolGray10,
7169
style = BitnagilTheme.typography.body1Medium,
70+
textAlign = TextAlign.End,
7271
)
7372
}
7473

@@ -79,6 +78,7 @@ fun CompleteReportCard(
7978
text = address ?: "주소 없음",
8079
color = BitnagilTheme.colors.coolGray10,
8180
style = BitnagilTheme.typography.body1Medium,
81+
textAlign = TextAlign.End,
8282
)
8383
}
8484

@@ -124,7 +124,7 @@ private fun CompleteReportCardItem(
124124
Row(
125125
modifier = modifier.fillMaxWidth(),
126126
horizontalArrangement = Arrangement.SpaceBetween,
127-
verticalAlignment = Alignment.CenterVertically,
127+
verticalAlignment = Alignment.Top,
128128
) {
129129
Text(
130130
text = title,

0 commit comments

Comments
 (0)