Skip to content

Commit 339bcee

Browse files
committed
fix: files should be displayed after folders (#597)
Signed-off-by: leo <[email protected]>
1 parent 76a7a22 commit 339bcee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ViewModels/ChangeTreeNode.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ private static void Sort(List<ChangeTreeNode> nodes)
116116
{
117117
if (l.IsFolder == r.IsFolder)
118118
return Models.NumericSort.Compare(l.FullPath, r.FullPath);
119-
return r.IsFolder ? -1 : 1;
119+
return l.IsFolder ? -1 : 1;
120120
});
121121
}
122122

0 commit comments

Comments
 (0)