use _state directly in main

This commit is contained in:
fuwa
2019-12-28 13:47:37 +00:00
parent 39ba7dd5c9
commit b2d84072c1
-1
View File
@@ -129,7 +129,6 @@ class _CyberWOW_PageState extends State<CyberWOW_Page> with WidgetsBindingObserv
var validState = true;
while (validState && !exited) {
state.AppState _state = _getState();
switch (_state.runtimeType) {
case state.ExitingState: {
await (_state as state.ExitingState).wait();