From cd28a4964753fa87178b401a47be9648f6ac5f2a Mon Sep 17 00:00:00 2001 From: Xjph Date: Sat, 4 Sep 2021 19:35:42 -0230 Subject: [PATCH] use friendlier names for display --- ObservatoryCore/UI/Views/BasicUIView.axaml.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ObservatoryCore/UI/Views/BasicUIView.axaml.cs b/ObservatoryCore/UI/Views/BasicUIView.axaml.cs index d0a3a2f..d45b4e9 100644 --- a/ObservatoryCore/UI/Views/BasicUIView.axaml.cs +++ b/ObservatoryCore/UI/Views/BasicUIView.axaml.cs @@ -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"); } }