Skip to content

Commit 77d64c0

Browse files
authored
Merge pull request #189 from YAPP-Github/ui/#188-report-complete
[UI/#188] 제보 완료화면 오류사항을 수정합니다.
2 parents dc20169 + a76b1dd commit 77d64c0

File tree

2 files changed

+5
-8
lines changed

2 files changed

+5
-8
lines changed

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,

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

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ import androidx.compose.foundation.layout.Column
66
import androidx.compose.foundation.layout.Spacer
77
import androidx.compose.foundation.layout.fillMaxSize
88
import androidx.compose.foundation.layout.fillMaxWidth
9-
import androidx.compose.foundation.layout.offset
109
import androidx.compose.foundation.layout.padding
1110
import androidx.compose.foundation.layout.size
1211
import androidx.compose.foundation.rememberScrollState
@@ -76,9 +75,7 @@ fun CompleteReportContent(
7675
)
7776

7877
CompleteReportCard(
79-
modifier = Modifier
80-
.offset(y = 115.dp)
81-
.padding(horizontal = 18.dp),
78+
modifier = Modifier.padding(top = 115.dp, start = 18.dp, end = 18.dp),
8279
title = uiState.reportTitle,
8380
category = uiState.selectedCategory,
8481
address = uiState.currentAddress,

0 commit comments

Comments
 (0)