re-set gameListFuture to reload the games after changing the winner

This commit is contained in:
2025-12-05 19:35:04 +01:00
parent f7f97fcdcb
commit 8f2c7493d0

View File

@@ -115,9 +115,12 @@ class _GameHistoryViewState extends State<GameHistoryView> {
GameResultView(game: games[index]),
),
);
setState(() {
_gameListFuture = db.gameDao.getAllGames();
});
},
game: games[index],
); // Placeholder
);
},
),
);