Skip to content

Commit

Permalink
[STYLE] #95 : 변수 네이밍 수정 question -> questionTitle
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongjaino committed Feb 6, 2024
1 parent a958ff6 commit aa6404a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ import com.wap.wapp.core.model.survey.QuestionType

@Composable
internal fun SurveyQuestionContent(
question: String,
questionTitle: String,
questionType: QuestionType,
currentQuestionNumber: Int,
totalQuestionNumber: Int,
Expand Down Expand Up @@ -83,7 +83,7 @@ internal fun SurveyQuestionContent(
}

WappRoundedTextField(
value = question,
value = questionTitle,
onValueChange = onQuestionChanged,
modifier = Modifier
.fillMaxWidth()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ internal fun SurveyRegistrationScreen(
eventSelection = eventSelection,
title = title,
content = content,
question = questionTitle,
questionTitle = questionTitle,
questionType = questionType,
dateDeadline = dateDeadline,
timeDeadline = timeDeadline,
Expand All @@ -120,7 +120,7 @@ internal fun SurveyRegistrationScreen(
onEventSelected = { event -> viewModel.setSurveyEventSelection(event) },
onTitleChanged = { title -> viewModel.setSurveyTitle(title) },
onContentChanged = { content -> viewModel.setSurveyContent(content) },
onQuestionChanged = { question -> viewModel.setSurveyQuestionTitle(question) },
onQuestionTitleChanged = { question -> viewModel.setSurveyQuestionTitle(question) },
onQuestionTypeChanged = { questionType ->
viewModel.setSurveyQuestionType(questionType)
},
Expand Down

0 comments on commit aa6404a

Please sign in to comment.