Fixed updating error
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m1s
Pull Request Pipeline / lint (pull_request) Successful in 2m3s

This commit is contained in:
2025-12-29 19:16:25 +01:00
parent 1b300faea9
commit 5ae569f2e7

View File

@@ -234,6 +234,8 @@ class _CreateMatchViewState extends State<CreateMatchView> {
players: selectedPlayers, players: selectedPlayers,
); );
await db.matchDao.addMatch(match: match); await db.matchDao.addMatch(match: match);
widget.onWinnerChanged?.call();
if (context.mounted) { if (context.mounted) {
Navigator.pushReplacement( Navigator.pushReplacement(
context, context,