From aa6404a5a0810da2ddd09f0f3d700230f2066e96 Mon Sep 17 00:00:00 2001 From: jeongjaino Date: Tue, 6 Feb 2024 21:10:46 +0900 Subject: [PATCH] =?UTF-8?q?[STYLE]=20#95=20:=20=EB=B3=80=EC=88=98=20?= =?UTF-8?q?=EB=84=A4=EC=9D=B4=EB=B0=8D=20=EC=88=98=EC=A0=95=20question=20-?= =?UTF-8?q?>=20questionTitle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../wapp/feature/management/survey/SurveyQuestionContent.kt | 4 ++-- .../survey/registration/SurveyFormRegistrationScreen.kt | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyQuestionContent.kt b/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyQuestionContent.kt index 41f4b34d..1b1f6adf 100644 --- a/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyQuestionContent.kt +++ b/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/SurveyQuestionContent.kt @@ -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, @@ -83,7 +83,7 @@ internal fun SurveyQuestionContent( } WappRoundedTextField( - value = question, + value = questionTitle, onValueChange = onQuestionChanged, modifier = Modifier .fillMaxWidth() diff --git a/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/registration/SurveyFormRegistrationScreen.kt b/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/registration/SurveyFormRegistrationScreen.kt index f516199c..970e4d78 100644 --- a/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/registration/SurveyFormRegistrationScreen.kt +++ b/feature/management-survey/src/main/java/com/wap/wapp/feature/management/survey/registration/SurveyFormRegistrationScreen.kt @@ -105,7 +105,7 @@ internal fun SurveyRegistrationScreen( eventSelection = eventSelection, title = title, content = content, - question = questionTitle, + questionTitle = questionTitle, questionType = questionType, dateDeadline = dateDeadline, timeDeadline = timeDeadline, @@ -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) },