MatchTiles only show when recent games are available
This commit is contained in:
@@ -86,6 +86,7 @@ class _HomeViewState extends State<HomeView> {
|
||||
),
|
||||
],
|
||||
),
|
||||
if (recentMatches.isNotEmpty)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8.0),
|
||||
child: MatchTile(
|
||||
@@ -103,6 +104,7 @@ class _HomeViewState extends State<HomeView> {
|
||||
},
|
||||
),
|
||||
),
|
||||
if (recentMatches.length > 1)
|
||||
Padding(
|
||||
padding: const EdgeInsets.only(top: 8.0),
|
||||
child: MatchTile(
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
name: game_tracker
|
||||
description: "Game Tracking App for Card Games"
|
||||
publish_to: 'none'
|
||||
version: 0.0.1+23
|
||||
version: 0.0.1+43
|
||||
|
||||
environment:
|
||||
sdk: ^3.8.1
|
||||
|
||||
Reference in New Issue
Block a user