From 63050529b7f20709c07620f7418ddef1d2d6e18e Mon Sep 17 00:00:00 2001 From: Vincent Velociter Date: Sun, 14 Apr 2024 16:02:43 +0200 Subject: [PATCH] Show max 5 ongoing games Closes #522 --- lib/src/view/home/home_tab_screen.dart | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/src/view/home/home_tab_screen.dart b/lib/src/view/home/home_tab_screen.dart index b1ea601fe3..ac1881c2a4 100644 --- a/lib/src/view/home/home_tab_screen.dart +++ b/lib/src/view/home/home_tab_screen.dart @@ -219,7 +219,7 @@ class _HomeBody extends ConsumerWidget { children: [ SizedBox(height: 8.0), _CreateAGameSection(), - _OngoingGamesPreview(maxGamesToShow: 4), + _OngoingGamesPreview(maxGamesToShow: 5), ], ), ), @@ -243,7 +243,7 @@ class _HomeBody extends ConsumerWidget { const _SignInWidget(), const _HelloWidget(), const _CreateAGameSection(), - const _OngoingGamesPreview(maxGamesToShow: 4), + const _OngoingGamesPreview(maxGamesToShow: 5), const RecentGames(), ]; } @@ -260,7 +260,7 @@ class _HomeBody extends ConsumerWidget { child: Column( children: [ SizedBox(height: 8.0), - _OfflineCorrespondencePreview(maxGamesToShow: 4), + _OfflineCorrespondencePreview(maxGamesToShow: 5), ], ), ), @@ -280,7 +280,7 @@ class _HomeBody extends ConsumerWidget { return const [ SizedBox(height: 8.0), _HelloWidget(), - _OfflineCorrespondencePreview(maxGamesToShow: 2), + _OfflineCorrespondencePreview(maxGamesToShow: 5), ]; } }