Modified match tile

This commit is contained in:
2026-01-09 19:50:44 +01:00
parent c2394c3733
commit 349ff948de
3 changed files with 27 additions and 21 deletions

View File

@@ -78,20 +78,23 @@ class _MatchViewState extends State<MatchView> {
height: MediaQuery.paddingOf(context).bottom - 20,
);
}
return MatchTile(
onTap: () async {
Navigator.push(
context,
CupertinoPageRoute(
fullscreenDialog: true,
builder: (context) => MatchResultView(
match: matches[index],
onWinnerChanged: loadGames,
return Padding(
padding: const EdgeInsets.only(bottom: 12.0),
child: MatchTile(
onTap: () async {
Navigator.push(
context,
CupertinoPageRoute(
fullscreenDialog: true,
builder: (context) => MatchResultView(
match: matches[index],
onWinnerChanged: loadGames,
),
),
),
);
},
match: matches[index],
);
},
match: matches[index],
),
);
},
),