Merge pull request 'Gelbes Aufblinken der Recent Games auf der Homepage behoben & Anpassung des Recent-Games-Containers vorgenommen.' (#64) from bug/63-übergang-auf-home-seite-blitz-kurz-gelb-auf into development
Reviewed-on: #64 Reviewed-by: Felix Kirchner <felix.kirchner.fk@gmail.com>
This commit was merged in pull request #64.
This commit is contained in:
@@ -151,15 +151,6 @@ class _HomeViewState extends State<HomeView> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
if (snapshot.connectionState ==
|
|
||||||
ConnectionState.done &&
|
|
||||||
(!snapshot.hasData ||
|
|
||||||
snapshot.data!.isEmpty)) {
|
|
||||||
return const Center(
|
|
||||||
heightFactor: 4,
|
|
||||||
child: Text('No recent games available.'),
|
|
||||||
);
|
|
||||||
}
|
|
||||||
final List<Game> games =
|
final List<Game> games =
|
||||||
(isLoading
|
(isLoading
|
||||||
? skeletonData
|
? skeletonData
|
||||||
@@ -214,7 +205,7 @@ class _HomeViewState extends State<HomeView> {
|
|||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const Center(
|
return const Center(
|
||||||
heightFactor: 4,
|
heightFactor: 12,
|
||||||
child: Text('No recent games available.'),
|
child: Text('No recent games available.'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user