Skip to content

Commit

Permalink
[CHORE] #125 : 설문 응답 OverView Text 높이 가운데
Browse files Browse the repository at this point in the history
  • Loading branch information
tgyuuAn committed Feb 17, 2024
1 parent 3bb2ee2 commit d3000d4
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 6 deletions.
1 change: 1 addition & 0 deletions .idea/gradle.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 32 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 0 additions & 1 deletion .idea/misc.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,11 @@ internal fun SurveyAnswerScreen(

viewModel.surveyAnswerEvent.collectLatest {
when (it) {
is SurveyAnswerViewModel.SurveyAnswerUiEvent.SubmitSuccess -> {
is SurveyAnswerViewModel.SurveyAnswerUiEvent.SubmitSuccess ->
navigateToSurvey()
}

is SurveyAnswerViewModel.SurveyAnswerUiEvent.Failure -> {
is SurveyAnswerViewModel.SurveyAnswerUiEvent.Failure ->
snackBarHostState.showSnackbar(it.throwable.toSupportingText())
}
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,10 @@ internal fun SurveyOverview(

@Composable
private fun SurveyOverviewText(category: String, content: String) {
Row(modifier = Modifier.fillMaxWidth()) {
Row(
verticalAlignment = Alignment.CenterVertically,
modifier = Modifier.fillMaxWidth(),
) {
Text(
text = category,
color = WappTheme.colors.white,
Expand Down

0 comments on commit d3000d4

Please sign in to comment.