MVP #141

Merged
flixcoo merged 705 commits from development into main 2026-01-09 12:55:50 +00:00
2 changed files with 7 additions and 2 deletions
Showing only changes of commit 31c8598222 - Show all commits

View File

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

View File

@@ -38,6 +38,13 @@ class _GameResultViewState extends State<GameResultView> {
return Scaffold(
backgroundColor: CustomTheme.backgroundColor,
appBar: AppBar(
leading: IconButton(
icon: const Icon(Icons.close),
onPressed: () {
widget.onWinnerChanged?.call();
Navigator.of(context).pop();
},
),
backgroundColor: CustomTheme.backgroundColor,
scrolledUnderElevation: 0,
title: Text(