Skip to content

Commit

Permalink
[STYLE] #95 : 인자 네이밍 수정 time, date => timeDeadline, dateDeadline
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Jan 31, 2024
1 parent 80dbd6a commit aefdaac
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -32,8 +32,8 @@ import java.time.LocalTime
@OptIn(ExperimentalMaterial3Api::class)
@Composable
internal fun SurveyDeadlineContent(
date: LocalDate,
time: LocalTime,
dateDeadline: LocalDate,
timeDeadline: LocalTime,
timePickerState: TimePickerState,
showDatePicker: Boolean,
showTimePicker: Boolean,
Expand All @@ -46,7 +46,7 @@ internal fun SurveyDeadlineContent(
) {
if (showDatePicker) {
WappDatePickerDialog(
date = date,
date = dateDeadline,
onDismissRequest = { onDatePickerStateChanged(false) },
onDateChanged = onDateChanged,
)
Expand Down Expand Up @@ -78,15 +78,15 @@ internal fun SurveyDeadlineContent(

DeadlineCard(
title = stringResource(R.string.date),
hint = date.format(DateUtil.yyyyMMddFormatter),
hint = dateDeadline.format(DateUtil.yyyyMMddFormatter),
onCardClicked = {
onDatePickerStateChanged(true)
},
)

DeadlineCard(
title = stringResource(R.string.time),
hint = time.format(DateUtil.HHmmFormatter),
hint = timeDeadline.format(DateUtil.HHmmFormatter),
onCardClicked = {
onTimePickerStateChanged(true)
},
Expand Down

0 comments on commit aefdaac

Please sign in to comment.