diff --git a/MemoryGame/Pages/Home.razor b/MemoryGame/Pages/Home.razor
index 04a17fb..cc7755a 100644
--- a/MemoryGame/Pages/Home.razor
+++ b/MemoryGame/Pages/Home.razor
@@ -13,33 +13,7 @@
Lädt...
}
- else if (_currentSession == null)
- {
-
-
Memory-Spiel
-
Übe das Zuordnen von Bildern zu Wörtern
-
-
- }
- else if (_currentSession.IsComplete && !_showStatistics)
- {
-
-
Spiel beendet!
-
-
- Richtig:
- @_currentSession.CorrectAnswers
-
-
- Falsch:
- @_currentSession.IncorrectAnswers
-
-
-
-
-
- }
- else if (_currentSession.IsComplete && _showStatistics)
+ else if (_showStatistics)
{
var words = GameService.GetWords()
.OrderBy(w => w.CorrectCount + w.IncorrectCount == 0 ? 1 : 0)
@@ -100,6 +74,33 @@
}
+ else if (_currentSession == null)
+ {
+
+
Memory-Spiel
+
Übe das Zuordnen von Bildern zu Wörtern
+
+
+
+ }
+ else if (_currentSession.IsComplete)
+ {
+
+
Spiel beendet!
+
+
+ Richtig:
+ @_currentSession.CorrectAnswers
+
+
+ Falsch:
+ @_currentSession.IncorrectAnswers
+
+
+
+
+
+ }
else
{
var round = _currentSession.CurrentRound;