diff --git a/src/IconPacksGenerator/Util.cs b/src/IconPacksGenerator/Util.cs index d5dc981..6ea8f75 100644 --- a/src/IconPacksGenerator/Util.cs +++ b/src/IconPacksGenerator/Util.cs @@ -86,7 +86,10 @@ internal static void OutputIconKindFile(Dictionary 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}");