Skip to content

Commit 5a92b4b

Browse files
committed
Use global namespace
1 parent a47ce44 commit 5a92b4b

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Flow.Launcher.Localization.SourceGenerators/Localize/EnumSourceGenerator.cs

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,6 @@ private void GenerateSource(SourceProductionContext spc, INamedTypeSymbol enumSy
9090

9191
// Generate using directives
9292
sourceBuilder.AppendLine("using System.Collections.Generic;");
93-
sourceBuilder.AppendLine("using Flow.Launcher.Plugin;");
9493
sourceBuilder.AppendLine();
9594

9695
// Generate namespace
@@ -197,7 +196,7 @@ private static void GenerateUpdateLabelsMethod(StringBuilder sb, string enumData
197196
{
198197
sb.AppendLine($"{tabString}/// <summary>");
199198
sb.AppendLine($"{tabString}/// Update the labels of the enum values when culture info changes.");
200-
sb.AppendLine($"{tabString}/// See <see cref=\"PluginInitContext.CultureInfoChanged\"/> for more details");
199+
sb.AppendLine($"{tabString}/// See <see cref=\"Flow.Launcher.Plugin.PluginInitContext.CultureInfoChanged\"/> for more details");
201200
sb.AppendLine($"{tabString}/// </summary>");
202201
sb.AppendLine($"{tabString}public static void UpdateLabels(List<{enumDataClassName}> options)");
203202
sb.AppendLine($"{tabString}{{");

0 commit comments

Comments
 (0)