diff --git a/lib/presentation/views/main_menu/game_result_view.dart b/lib/presentation/views/main_menu/game_result_view.dart index 2dcabc4..07f200c 100644 --- a/lib/presentation/views/main_menu/game_result_view.dart +++ b/lib/presentation/views/main_menu/game_result_view.dart @@ -17,7 +17,7 @@ class GameResultView extends StatefulWidget { class _GameResultViewState extends State { late final List allPlayers; - Player? _player; + Player? _player; //TODO: Set last winner as selected @override void initState() { @@ -32,8 +32,8 @@ class _GameResultViewState extends State { appBar: AppBar( backgroundColor: CustomTheme.backgroundColor, scrolledUnderElevation: 0, - title: const Text( - 'Game Result', + title: Text( + widget.game.name, style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), ), centerTitle: true, @@ -67,6 +67,7 @@ class _GameResultViewState extends State { fontWeight: FontWeight.bold, ), ), + SizedBox(height: 2), Visibility( visible: allPlayers.isNotEmpty, replacement: const TopCenteredMessage( diff --git a/lib/presentation/widgets/tiles/custom_radio_list_tile.dart b/lib/presentation/widgets/tiles/custom_radio_list_tile.dart index 1350239..5081bad 100644 --- a/lib/presentation/widgets/tiles/custom_radio_list_tile.dart +++ b/lib/presentation/widgets/tiles/custom_radio_list_tile.dart @@ -25,23 +25,20 @@ class CustomRadioListTile extends StatelessWidget { border: Border.all(color: CustomTheme.boxBorder), borderRadius: BorderRadius.circular(12), ), - child: Padding( - padding: const EdgeInsets.symmetric(vertical: 5), - child: Row( - children: [ - Radio(value: value, activeColor: CustomTheme.primaryColor), - Expanded( - child: Text( - text, - overflow: TextOverflow.ellipsis, - style: const TextStyle( - fontSize: 16, - fontWeight: FontWeight.w500, - ), + child: Row( + children: [ + Radio(value: value, activeColor: CustomTheme.primaryColor), + Expanded( + child: Text( + text, + overflow: TextOverflow.ellipsis, + style: const TextStyle( + fontSize: 16, + fontWeight: FontWeight.w500, ), ), - ], - ), + ), + ], ), ), );