@@ -20,47 +20,53 @@ class UserConfig {
2020 'allowed ' => [true , false ],
2121 ],
2222 [
23- // Whether to show the "confirm file extension change" warning
24- 'key ' => 'show_dialog_file_extension ' ,
23+ // The view to start the files app in
24+ 'key ' => 'default_view ' ,
25+ 'default ' => 'files ' ,
26+ 'allowed ' => ['files ' , 'personal ' ],
27+ ],
28+ [
29+ // Whether to show the folder tree
30+ 'key ' => 'folder_tree ' ,
2531 'default ' => true ,
2632 'allowed ' => [true , false ],
2733 ],
2834 [
29- // Whether to show the hidden files or not in the files list
30- 'key ' => 'show_hidden ' ,
35+ // Whether to show the files list in grid view or not
36+ 'key ' => 'grid_view ' ,
3137 'default ' => false ,
3238 'allowed ' => [true , false ],
3339 ],
3440 [
35- // Whether to sort favorites first in the list or not
36- 'key ' => 'sort_favorites_first ' ,
41+ // Whether to show the "confirm file extension change" warning
42+ 'key ' => 'show_dialog_file_extension ' ,
3743 'default ' => true ,
3844 'allowed ' => [true , false ],
3945 ],
4046 [
41- // Whether to sort folders before files in the list or not
42- 'key ' => 'sort_folders_first ' ,
43- 'default ' => true ,
47+ // Whether to show the hidden files or not in the files list
48+ 'key ' => 'show_hidden ' ,
49+ 'default ' => false ,
4450 'allowed ' => [true , false ],
4551 ],
4652 [
47- // Whether to show the files list in grid view or not
48- 'key ' => 'grid_view ' ,
53+ // Whether to show the mime column or not
54+ 'key ' => 'show_mime_column ' ,
4955 'default ' => false ,
5056 'allowed ' => [true , false ],
5157 ],
5258 [
53- // Whether to show the folder tree
54- 'key ' => 'folder_tree ' ,
59+ // Whether to sort favorites first in the list or not
60+ 'key ' => 'sort_favorites_first ' ,
5561 'default ' => true ,
5662 'allowed ' => [true , false ],
5763 ],
5864 [
59- // Whether to show the mime column or not
60- 'key ' => 'show_mime_column ' ,
61- 'default ' => false ,
65+ // Whether to sort folders before files in the list or not
66+ 'key ' => 'sort_folders_first ' ,
67+ 'default ' => true ,
6268 'allowed ' => [true , false ],
63- ]
69+ ],
6470 ];
6571 protected ?IUser $ user = null ;
6672
0 commit comments