File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/Files.App/Utils/Storage/Collection Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ public static class SortingHelper
1010 private static object OrderByNameFunc ( ListedItem item )
1111 => item . Name ;
1212
13- public static Func < ListedItem , object > ? GetSortFunc ( SortOption directorySortOption )
13+ public static Func < ListedItem , object > GetSortFunc ( SortOption directorySortOption )
1414 {
1515 return directorySortOption switch
1616 {
@@ -24,7 +24,7 @@ private static object OrderByNameFunc(ListedItem item)
2424 SortOption . Path => item => item . ItemPath ,
2525 SortOption . OriginalFolder => item => ( item as RecycleBinItem ) ? . ItemOriginalFolder ,
2626 SortOption . DateDeleted => item => ( item as RecycleBinItem ) ? . ItemDateDeletedReal ,
27- _ => null ,
27+ _ => item => item . Name ,
2828 } ;
2929 }
3030
You can’t perform that action at this time.
0 commit comments