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

Commit 9626aa8

Browse files
Adding missing change
1 parent 7a3337d commit 9626aa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/GitHub.Api/UI/TreeBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ internal static FileTreeNode BuildTreeRoot(IList<GitStatusEntry> newEntries, Lis
129129
var node = new FileTreeNode(entryPath, stateChangeCallback) { Target = gitCommitTargets[index1] };
130130
if (!String.IsNullOrEmpty(gitStatusEntry.ProjectPath))
131131
{
132-
node.Icon = iconLoaderFunc.Invoke(gitStatusEntry.ProjectPath);
132+
node.Icon = iconLoaderFunc?.Invoke(gitStatusEntry.ProjectPath);
133133
}
134134

135135
TreeBuilder.BuildChildNode(tree, node, foldedTreeEntries, stateChangeCallback);

0 commit comments

Comments
 (0)