Updated listener notification
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user