From 694cac7f265063128e56d5c94b0299cfab646cd8 Mon Sep 17 00:00:00 2001 From: mathiskirchner Date: Sun, 23 Nov 2025 21:16:13 +0100 Subject: [PATCH] =?UTF-8?q?Fix=20bug=20where=20the=20skeleton=20was=20edit?= =?UTF-8?q?ed=20while=20it=20was=20visible=20and=20match=20the=20=E2=80=9C?= =?UTF-8?q?no=20games=20available=E2=80=9D=20container=20size=20to=20the?= =?UTF-8?q?=20size=20used=20when=20games=20are=20available.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/presentation/views/main_menu/home_view.dart | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/lib/presentation/views/main_menu/home_view.dart b/lib/presentation/views/main_menu/home_view.dart index d9cd1ab..f75eb78 100644 --- a/lib/presentation/views/main_menu/home_view.dart +++ b/lib/presentation/views/main_menu/home_view.dart @@ -151,15 +151,6 @@ class _HomeViewState extends State { ), ); } - if (snapshot.connectionState == - ConnectionState.done && - (!snapshot.hasData || - snapshot.data!.isEmpty)) { - return const Center( - heightFactor: 4, - child: Text('No recent games available.'), - ); - } final List games = (isLoading ? skeletonData @@ -214,7 +205,7 @@ class _HomeViewState extends State { ); } else { return const Center( - heightFactor: 4, + heightFactor: 12, child: Text('No recent games available.'), ); }