Skip to content

Commit 7264f54

Browse files
committed
Use ShowMsgError for plugin load fail message
1 parent cdd5bf1 commit 7264f54

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

Flow.Launcher.Core/Plugin/PluginsLoader.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,9 @@ private static IEnumerable<PluginPair> DotNetPlugins(List<PluginMetadata> source
126126

127127
_ = Task.Run(() =>
128128
{
129-
API.ShowMsgBox($"{errorMessage}{Environment.NewLine}{Environment.NewLine}" +
130-
$"{errorPluginString}{Environment.NewLine}{Environment.NewLine}" +
131-
API.GetTranslation("referToLogs"), string.Empty,
132-
MessageBoxButton.OK, MessageBoxImage.Warning);
129+
API.ShowMsgError($"{errorMessage}{Environment.NewLine}{Environment.NewLine}" +
130+
$"{errorPluginString}{Environment.NewLine}{Environment.NewLine}" +
131+
API.GetTranslation("referToLogs"));
133132
});
134133
}
135134

0 commit comments

Comments
 (0)