Skip to content

Commit

Permalink
sort paths and autos when creating new folders
Browse files Browse the repository at this point in the history
  • Loading branch information
mjansen4857 committed Oct 6, 2023
1 parent ab87ae7 commit ce80a02
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/pages/project/project_page.dart
Original file line number Diff line number Diff line change
Expand Up @@ -360,6 +360,7 @@ class _ProjectPageState extends State<ProjectPage> {

setState(() {
_pathFolders.add(folderName);
_sortPaths(_pathSortValue);
});
widget.prefs.setStringList(
PrefsKeys.pathFolders, _pathFolders);
Expand Down Expand Up @@ -816,6 +817,7 @@ class _ProjectPageState extends State<ProjectPage> {

setState(() {
_autoFolders.add(folderName);
_sortAutos(_autoSortValue);
});
widget.prefs.setStringList(
PrefsKeys.autoFolders, _autoFolders);
Expand Down

0 comments on commit ce80a02

Please sign in to comment.