Fixed state issue in home view
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m2s
Pull Request Pipeline / lint (pull_request) Successful in 2m3s

This commit is contained in:
2026-01-10 15:13:56 +01:00
parent 595cf6ead0
commit c4f6749882
2 changed files with 4 additions and 3 deletions

View File

@@ -103,14 +103,15 @@ class _HomeViewState extends State<HomeView> {
compact: true, compact: true,
width: constraints.maxWidth * 0.9, width: constraints.maxWidth * 0.9,
match: match, match: match,
onTap: () { onTap: () async {
Navigator.of(context).push( await Navigator.of(context).push(
MaterialPageRoute( MaterialPageRoute(
fullscreenDialog: true, fullscreenDialog: true,
builder: (context) => builder: (context) =>
MatchResultView(match: match), MatchResultView(match: match),
), ),
); );
loadHomeViewData();
}, },
), ),
) )

View File

@@ -1,7 +1,7 @@
name: game_tracker name: game_tracker
description: "Game Tracking App for Card Games" description: "Game Tracking App for Card Games"
publish_to: 'none' publish_to: 'none'
version: 0.0.2+73 version: 0.0.2+75
environment: environment:
sdk: ^3.8.1 sdk: ^3.8.1