Skip to content

Commit e634600

Browse files
committed
moneymong-305 feat: 희직님 리뷰 반영
1 parent b785b90 commit e634600

1 file changed

Lines changed: 8 additions & 16 deletions

File tree

feature/ledgerdetail/src/main/java/com/moneymong/moneymong/ledgerdetail/LedgerDetailScreen.kt

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -209,10 +209,8 @@ fun LedgerDetailScreen(
209209
onValueChange = viewModel::onChangeStoreNameValue,
210210
title = buildAnnotatedString {
211211
append("수입·지출 출처")
212-
if (state.enabledEdit) {
213-
withStyle(SpanStyle(color = Red03)) {
214-
append("*")
215-
}
212+
withStyle(SpanStyle(color = Red03)) {
213+
append("*")
216214
}
217215
},
218216
placeholder = "",
@@ -252,10 +250,8 @@ fun LedgerDetailScreen(
252250
onValueChange = viewModel::onChangeTotalPriceValue,
253251
title = buildAnnotatedString {
254252
append("${state.fundTypeText} 금액")
255-
if (state.enabledEdit) {
256-
withStyle(SpanStyle(color = Red03)) {
257-
append("*")
258-
}
253+
withStyle(SpanStyle(color = Red03)) {
254+
append("*")
259255
}
260256
},
261257
placeholder = "",
@@ -296,10 +292,8 @@ fun LedgerDetailScreen(
296292
onValueChange = viewModel::onChangePaymentDateValue,
297293
title = buildAnnotatedString {
298294
append("날짜")
299-
if (state.enabledEdit) {
300-
withStyle(SpanStyle(color = Red03)) {
301-
append("*")
302-
}
295+
withStyle(SpanStyle(color = Red03)) {
296+
append("*")
303297
}
304298
},
305299
placeholder = "2024/01/01",
@@ -340,10 +334,8 @@ fun LedgerDetailScreen(
340334
onValueChange = viewModel::onChangePaymentTimeValue,
341335
title = buildAnnotatedString {
342336
append("시간")
343-
if (state.enabledEdit) {
344-
withStyle(SpanStyle(color = Red03)) {
345-
append("*")
346-
}
337+
withStyle(SpanStyle(color = Red03)) {
338+
append("*")
347339
}
348340
},
349341
placeholder = "00:00:00",

0 commit comments

Comments
 (0)