diff --git a/src/ui/flutter_app/lib/widgets/about_page.dart b/src/ui/flutter_app/lib/widgets/about_page.dart index 99bb3009..21fe8b42 100644 --- a/src/ui/flutter_app/lib/widgets/about_page.dart +++ b/src/ui/flutter_app/lib/widgets/about_page.dart @@ -163,7 +163,7 @@ class _AboutPageState extends State { _showVersionInfo() { showDialog( context: context, - barrierDismissible: false, + barrierDismissible: true, builder: (context) => alertDialog(context), ); } diff --git a/src/ui/flutter_app/lib/widgets/game_page.dart b/src/ui/flutter_app/lib/widgets/game_page.dart index acde0d32..dfdf51a6 100644 --- a/src/ui/flutter_app/lib/widgets/game_page.dart +++ b/src/ui/flutter_app/lib/widgets/game_page.dart @@ -434,7 +434,7 @@ class _GamePageState extends State with RouteAware { if (result == GameResult.win) { showDialog( context: context, - barrierDismissible: false, + barrierDismissible: true, builder: (BuildContext context) { return AlertDialog( title: Text(dialogTitle, @@ -461,7 +461,7 @@ class _GamePageState extends State with RouteAware { } else { showDialog( context: context, - barrierDismissible: false, + barrierDismissible: true, builder: (BuildContext context) { return AlertDialog( title: Text(dialogTitle, @@ -685,7 +685,7 @@ class _GamePageState extends State with RouteAware { ), onPressed: () => showDialog( context: context, - barrierDismissible: false, + barrierDismissible: true, builder: (BuildContext context) { return AlertDialog( backgroundColor: AppTheme.moveHistoryDialogBackgroundColor, @@ -728,7 +728,7 @@ class _GamePageState extends State with RouteAware { ), onPressed: () => showDialog( context: context, - barrierDismissible: false, + barrierDismissible: true, builder: (BuildContext context) { return AlertDialog( backgroundColor: AppTheme.hintDialogackgroundColor,