add comment
All checks were successful
Pull Request Pipeline / test (pull_request) Successful in 2m5s
Pull Request Pipeline / lint (pull_request) Successful in 2m8s

This commit is contained in:
2026-01-03 11:02:43 +01:00
parent 16e1f542f5
commit 5289660327

View File

@@ -48,10 +48,10 @@ class _ChooseGameViewState extends State<ChooseGameView> {
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;
}