From 3d6d051bf43ca9e895811baaad951329ac1495f7 Mon Sep 17 00:00:00 2001 From: "sewmina7@gmail.com" Date: Mon, 21 Aug 2023 08:23:51 +0530 Subject: [PATCH] p ready --- lib/home.dart | 9 +++++++-- pubspec.yaml | 2 +- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/lib/home.dart b/lib/home.dart index 8729ea8..183b6df 100644 --- a/lib/home.dart +++ b/lib/home.dart @@ -337,10 +337,15 @@ class _HomeState extends State with WidgetsBindingObserver { Widget GameCard({required int index, required List list}) { return GlassCard( child: InkWell( - onTap: () { - Navigator.of(context).push(MaterialPageRoute( + onTap: () async{ + await Navigator.of(context).push(MaterialPageRoute( builder: (BuildContext context) => GameInfoPage(gameJson: list[index]))); + + await DataManager.GrabOnce(); + setState(() { + + }); }, child: Container( padding: EdgeInsets.all(12), diff --git a/pubspec.yaml b/pubspec.yaml index 177f686..984a929 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.0.3+3 +version: 1.0.4+4 environment: sdk: '>=3.0.1 <4.0.0'