fix: read flows from ~/.chain after config-dir rename
The platform's operator config dir moved ~/.fai -> ~/.chain; the flow editor read saved flows + layouts from the old path, so it found nothing after the rename. Update the hardcoded ~/.fai/data/flows paths to ~/.chain. Signed-off-by: flemming-it <sf@flemming.it>
This commit is contained in:
parent
0ebc319808
commit
a0a5038ad7
3 changed files with 5 additions and 5 deletions
|
|
@ -49,7 +49,7 @@ String _defaultFlowsDir() {
|
|||
Platform.environment['HOME'] ??
|
||||
Platform.environment['USERPROFILE'] ??
|
||||
'.';
|
||||
return '$home/.fai/data/flows';
|
||||
return '$home/.chain/data/flows';
|
||||
}
|
||||
|
||||
class FlowEditorPage extends StatefulWidget {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue