From 4520281cb65f284e5c60982137acb4de4390323e Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Fri, 8 May 2026 19:33:22 +0200 Subject: [PATCH] fix: popup area --- .../create_match/create_game_view.dart | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart b/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart index 2094554..3baa5b3 100644 --- a/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart +++ b/lib/presentation/views/main_menu/match_view/create_match/create_game_view.dart @@ -297,20 +297,7 @@ class _CreateGameViewState extends State { // Choose color tile ChooseTile( title: loc.color, - trailing: Row( - spacing: 8, - children: [ - // Selected Color - Container( - width: 16, - height: 16, - margin: const EdgeInsets.only(left: 12), - decoration: BoxDecoration( - color: getColorFromGameColor(selectedColor!), - shape: BoxShape.circle, - ), - ), - + trailing: //Popup CustomPopup( showArrow: true, @@ -399,12 +386,25 @@ class _CreateGameViewState extends State { ), ), ), - child: Text( - translateGameColorToString(selectedColor!, context), + child: Row( + spacing: 8, + children: [ + // Selected Color + Container( + width: 16, + height: 16, + margin: const EdgeInsets.only(left: 12), + decoration: BoxDecoration( + color: getColorFromGameColor(selectedColor!), + shape: BoxShape.circle, + ), + ), + Text( + translateGameColorToString(selectedColor!, context), + ), + ], ), ), - ], - ), ), // Description input field