File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
Flow.Launcher.Localization.SourceGenerators/Localize Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -88,9 +88,8 @@ private void GenerateSource(
8888 sourceBuilder . AppendLine ( $ "{ tabString } /// <summary>") ;
8989 sourceBuilder . AppendLine ( $ "{ tabString } /// Get <see cref=\" Flow.Launcher.Plugin.IPublicAPI\" > instance") ;
9090 sourceBuilder . AppendLine ( $ "{ tabString } /// </summary>") ;
91- sourceBuilder . AppendLine ( $ "{ tabString } internal static Flow.Launcher.Plugin.IPublicAPI { Constants . PublicApiInternalPropertyName } => { Constants . PublicApiPrivatePropertyName } ??= CommunityToolkit.Mvvm.DependencyInjection.Ioc.Default.GetRequiredService<Flow.Launcher.Plugin.IPublicAPI>();") ;
92- sourceBuilder . AppendLine ( ) ;
93-
91+ sourceBuilder . AppendLine ( $ "{ tabString } internal static Flow.Launcher.Plugin.IPublicAPI { Constants . PublicApiInternalPropertyName } =>" +
92+ $ "{ Constants . PublicApiPrivatePropertyName } ??= CommunityToolkit.Mvvm.DependencyInjection.Ioc.Default.GetRequiredService<Flow.Launcher.Plugin.IPublicAPI>();") ;
9493 sourceBuilder . AppendLine ( $ "}}") ;
9594
9695 // Add source to context
You can’t perform that action at this time.
0 commit comments