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; }