Compare commits

...

1 commit

Author SHA1 Message Date
36a83f9ae4 fix: setState callback must not return the reload future
Signed-off-by: flemming-it <sf@flemming.it>
2026-08-28 00:11:55 +02:00

View file

@ -218,7 +218,10 @@ class _FlowEditorPageState extends State<FlowEditorPage>
// change what the list must show. // change what the list must show.
if (widget.flowsDir != old.flowsDir || if (widget.flowsDir != old.flowsDir ||
!setEquals(widget.sampleFlowNames, old.sampleFlowNames)) { !setEquals(widget.sampleFlowNames, old.sampleFlowNames)) {
setState(() => _files = _listFiles()); final fresh = _listFiles();
setState(() {
_files = fresh;
});
} }
} }