From 528966032706008dc4cfc26a73d1b3a456c172bc Mon Sep 17 00:00:00 2001 From: Mathis Kirchner Date: Sat, 3 Jan 2026 11:02:43 +0100 Subject: [PATCH] add comment --- .../main_menu/match_view/create_match/choose_game_view.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/presentation/views/main_menu/match_view/create_match/choose_game_view.dart b/lib/presentation/views/main_menu/match_view/create_match/choose_game_view.dart index 20e1d14..e21e868 100644 --- a/lib/presentation/views/main_menu/match_view/create_match/choose_game_view.dart +++ b/lib/presentation/views/main_menu/match_view/create_match/choose_game_view.dart @@ -48,10 +48,10 @@ class _ChooseGameViewState extends State { centerTitle: true, ), body: PopScope( + // This fixes that the Android Back Gesture didn't return the + // selectedGameIndex and therefore the selected Game wasn't saved canPop: false, onPopInvokedWithResult: (bool didPop, Object? result) { - print(result); - print(didPop); if (didPop) { return; }