Fixed bug with no popup shown
This commit is contained in:
@@ -69,7 +69,8 @@ class GameManager extends ChangeNotifier {
|
||||
|
||||
gameList[index].roundNumber--;
|
||||
gameList[index].isGameFinished = true;
|
||||
notifyListeners();
|
||||
gameList[index].setWinner();
|
||||
gameList[index].notifyListeners();
|
||||
LocalStorageService.saveGameSessions();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user