diff --git a/lib/src/flow_editor_page.dart b/lib/src/flow_editor_page.dart index 73d60ba..6363851 100644 --- a/lib/src/flow_editor_page.dart +++ b/lib/src/flow_editor_page.dart @@ -218,7 +218,10 @@ class _FlowEditorPageState extends State // change what the list must show. if (widget.flowsDir != old.flowsDir || !setEquals(widget.sampleFlowNames, old.sampleFlowNames)) { - setState(() => _files = _listFiles()); + final fresh = _listFiles(); + setState(() { + _files = fresh; + }); } }