Commit f141ac00 authored by tongzifang's avatar tongzifang

fix

parent 2921388d
......@@ -37,9 +37,6 @@ class _MyAppState extends State<MyApp> {
platformVersion = 'Failed to get platform version.';
}
// If the widget was removed from the tree while the asynchronous platform
// message was in flight, we want to discard the reply rather than calling
// setState to update our non-existent appearance.
if (!mounted) return;
setState(() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment