From b5234c765ce20841d0a6445d1cb443f7ae2bc730 Mon Sep 17 00:00:00 2001 From: Felix Kirchner Date: Wed, 26 Nov 2025 12:40:06 +0100 Subject: [PATCH] Changed create game button size --- lib/presentation/views/main_menu/game_history_view.dart | 4 ++-- lib/presentation/views/main_menu/groups_view.dart | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/lib/presentation/views/main_menu/game_history_view.dart b/lib/presentation/views/main_menu/game_history_view.dart index d28943f..7fbe025 100644 --- a/lib/presentation/views/main_menu/game_history_view.dart +++ b/lib/presentation/views/main_menu/game_history_view.dart @@ -178,12 +178,12 @@ class _GameHistoryViewState extends State { ), ), Positioned( - bottom: 110, + bottom: MediaQuery.paddingOf(context).bottom, width: MediaQuery.of(context).size.width, child: Center( child: CustomWidthButton( text: 'Create Game', - sizeRelativeToWidth: 0.95, + sizeRelativeToWidth: 0.90, onPressed: () { Navigator.of(context).push( MaterialPageRoute( diff --git a/lib/presentation/views/main_menu/groups_view.dart b/lib/presentation/views/main_menu/groups_view.dart index 29fbac8..4601ef9 100644 --- a/lib/presentation/views/main_menu/groups_view.dart +++ b/lib/presentation/views/main_menu/groups_view.dart @@ -92,7 +92,6 @@ class _GroupsViewState extends State { ); }, ), - Positioned( bottom: MediaQuery.paddingOf(context).bottom, child: CustomWidthButton(