fix: double rendering

This commit is contained in:
2025-08-09 17:20:35 +02:00
parent d770fc1013
commit 3ed63f8f8c

View File

@@ -44,6 +44,9 @@ struct ContentView: View {
AudioServicesPlaySystemSound(1322)
score += viewModel.score
}
.onDisappear {
viewModel.isQuizFinished = false
}
} else if let frage = viewModel.currentQuestion {
QuizHeader(