Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
yiszza committed Nov 28, 2023
1 parent aed4ad2 commit 40fb5f6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/IconPacksGenerator/Util.cs
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,10 @@ internal static void OutputIconKindFile(Dictionary<string, string> iconKinds, st
{
foreach (var kind in iconKinds)
{
sb.AppendLine($"\t\tpublic static string {kind.Key} = \"{kind.Value}\";");
if (string.Equals(kind.Key, type))
sb.AppendLine($"\t\tpublic static string _{kind.Key} = \"{kind.Value}\";");
else
sb.AppendLine($"\t\tpublic static string {kind.Key} = \"{kind.Value}\";");
}
sb.AppendLine("\t}\r\n}");

Expand Down

0 comments on commit 40fb5f6

Please sign in to comment.