Skip to content

Commit

Permalink
refactor: GeneralQuizResultScreenPreview 오류 수정, 언어 한글로 변경 (#196)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengcon committed Jan 9, 2025
1 parent 87e723a commit ad80fe5
Showing 1 changed file with 14 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,15 +211,26 @@ fun GeneralQuestionResultItem(

@Preview(
showBackground = true,
locale = "ko",
uiMode = Configuration.UI_MODE_NIGHT_YES,
)
@Preview(showBackground = true)
@Preview(
showBackground = true,
locale = "ko",
)
@Composable
fun GeneralQuizResultScreenPreview() {
val generalQuizResultPreviewUserOmrAnswers = listOf(0, 1, "")
WeQuizTheme {
QuizResultScreen(
GeneralQuizResultScreen(
quizTitle = "퀴즈 타이틀",
quizResult = QuizResult(
questions = quizResultPreviewQuestions,
userOmrAnswers = generalQuizResultPreviewUserOmrAnswers,
),
onNavigationButtonClick = {},
onQuestionClick = {},
onQuestionClick = { _ -> },
snackbarHostState = remember { SnackbarHostState() },
)
}
}

0 comments on commit ad80fe5

Please sign in to comment.