From 8a7b575952ab268e76ce6843a5f988b6a70e0491 Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sun, 16 May 2021 13:53:43 +0800 Subject: [PATCH] flutter: devmode: No need to throw exception when shutdown (2) --- src/ui/flutter_app/lib/widgets/game_page.dart | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/flutter_app/lib/widgets/game_page.dart b/src/ui/flutter_app/lib/widgets/game_page.dart index 5ceb2b67..15f70447 100644 --- a/src/ui/flutter_app/lib/widgets/game_page.dart +++ b/src/ui/flutter_app/lib/widgets/game_page.dart @@ -417,9 +417,9 @@ class _GamePageState extends State with RouteAware { showTip(S.of(context).timeout); } - if (Config.developerMode) { - assert(false); - } + //if (Config.developerMode) { + //assert(false); + //} return; default: showTip('Error: ${response.type}');