2
0
mirror of https://github.com/9ParsonsB/Pulsar.git synced 2025-04-05 17:39:39 -04:00

use friendlier names for display

This commit is contained in:
Xjph 2021-09-04 19:35:42 -02:30
parent 68e663c7f0
commit cd28a49647

View File

@ -177,7 +177,7 @@ namespace Observatory.UI.Views
if (!uniquePlugins.ContainsKey(plugin))
{
uniquePlugins.Add(plugin,
new PluginView() { Name = plugin.Name, Types = new() { typeof(IObservatoryWorker).Name }, Version = plugin.Version, Status = GetStatusText(signed) });
new PluginView() { Name = plugin.Name, Types = new() { "Worker" }, Version = plugin.Version, Status = GetStatusText(signed) });
}
}
@ -186,11 +186,11 @@ namespace Observatory.UI.Views
if (!uniquePlugins.ContainsKey(plugin))
{
uniquePlugins.Add(plugin,
new PluginView() { Name = plugin.Name, Types = new() { typeof(IObservatoryNotifier).Name }, Version = plugin.Version, Status = GetStatusText(signed) });
new PluginView() { Name = plugin.Name, Types = new() { "Notifier" }, Version = plugin.Version, Status = GetStatusText(signed) });
}
else
{
uniquePlugins[plugin].Types.Add(typeof(IObservatoryNotifier).Name);
uniquePlugins[plugin].Types.Add("Notifier");
}
}