Skip to content
This repository was archived by the owner on Dec 5, 2024. It is now read-only.

Commit 0e5f48b

Browse files
Merge branch 'fixes/changes-view-refactoring' into fixes/changes-view-performance
2 parents e5e1e31 + 8a1cd20 commit 0e5f48b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/GitHub.Api/UI/TreeBuilder.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ internal static FileTreeNode BuildTreeRoot(IList<GitStatusEntry> newEntries, Lis
126126

127127
for (var index1 = 0; index1 < gitStatusEntries.Count; index1++)
128128
{
129-
GitStatusEntry gitStatusEntry = gitStatusEntries[index1];
129+
var gitStatusEntry = gitStatusEntries[index1];
130130
var entryPath = gitStatusEntry.Path.ToNPath();
131131
if (entryPath.IsChildOf(tree.Path)) entryPath = entryPath.RelativeTo(tree.Path.ToNPath());
132132

@@ -136,7 +136,7 @@ internal static FileTreeNode BuildTreeRoot(IList<GitStatusEntry> newEntries, Lis
136136
node.Icon = iconLoaderFunc?.Invoke(gitStatusEntry.ProjectPath);
137137
}
138138

139-
TreeBuilder.BuildChildNode(tree, node, foldedTreeEntries, stateChangeCallback);
139+
BuildChildNode(tree, node, foldedTreeEntries, stateChangeCallback);
140140
}
141141

142142
return tree;

0 commit comments

Comments
 (0)