Self-execute closure passed to assert (#14235)

This commit is contained in:
Sam Rawlins 2018-01-23 13:46:14 -08:00 committed by Michael Goderbauer
parent 8059aea365
commit 5ae770345a

View File

@ -342,7 +342,7 @@ class RefreshIndicatorState extends State<RefreshIndicator> with TickerProviderS
library: 'material library',
));
return true;
});
}());
if (refreshResult == null)
return;
refreshResult.whenComplete(() {