diff --git a/lib/presentation/widgets/tiles/game_history_tile.dart b/lib/presentation/widgets/tiles/game_history_tile.dart index 83e0ba0..066603e 100644 --- a/lib/presentation/widgets/tiles/game_history_tile.dart +++ b/lib/presentation/widgets/tiles/game_history_tile.dart @@ -60,7 +60,7 @@ class _GameHistoryTileState extends State { const SizedBox(height: 8), - if (group != null) + if (group != null) ...[ Row( children: [ const Icon( @@ -81,10 +81,10 @@ class _GameHistoryTileState extends State { ), ], ), + const SizedBox(height: 12), + ], - if (group != null) const SizedBox(height: 12), - - if (winner != null) + if (winner != null) ...[ Container( padding: const EdgeInsets.symmetric(vertical: 8, horizontal: 12), decoration: BoxDecoration( @@ -114,8 +114,8 @@ class _GameHistoryTileState extends State { ], ), ), - - if (winner != null) const SizedBox(height: 12), + const SizedBox(height: 12), + ], if (allPlayers.isNotEmpty) ...[ const Text(