Updated listener notification

This commit is contained in:
2025-07-21 13:08:30 +02:00
parent afa52488b0
commit 9cfb3fefb0

View File

@@ -70,7 +70,7 @@ class GameManager extends ChangeNotifier {
gameList[index].roundNumber--; gameList[index].roundNumber--;
gameList[index].isGameFinished = true; gameList[index].isGameFinished = true;
gameList[index].setWinner(); gameList[index].setWinner();
gameList[index].notifyListeners(); notifyListeners();
LocalStorageService.saveGameSessions(); LocalStorageService.saveGameSessions();
} }
} }