flutter: devmode: No need to throw exception when shutdown (2)

This commit is contained in:
Calcitem 2021-05-16 13:53:43 +08:00
parent bc115a20e8
commit 8a7b575952
1 changed files with 3 additions and 3 deletions

View File

@ -417,9 +417,9 @@ class _GamePageState extends State<GamePage> with RouteAware {
showTip(S.of(context).timeout);
}
if (Config.developerMode) {
assert(false);
}
//if (Config.developerMode) {
//assert(false);
//}
return;
default:
showTip('Error: ${response.type}');