Fixed "await" for refreshable states

- Progress indicator stays in place until calls are completed
This commit is contained in:
Oliver Walters 2021-02-07 09:43:07 +11:00
parent 0cfac69d16
commit 12f4a4fa38
4 changed files with 18 additions and 21 deletions

View file

@ -46,7 +46,6 @@ class _PartStockDisplayState extends RefreshableState<PartStockDetailWidget> {
await part.reload(context);
await part.getStockItems(context);
print("request");
setState(() {
});
}