From 12c00841ff67f5fbd16a80ecbe74dd1dfecf425f Mon Sep 17 00:00:00 2001 From: Pilzinsel64 Date: Thu, 26 Sep 2024 09:32:55 +0200 Subject: [PATCH] add pluginfeatureprovider for updatescollectorfeature --- .../Features/Tools/UpdatesCollectorFeature.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/ModpackUpdater.Apps.Manager/Features/Tools/UpdatesCollectorFeature.cs b/ModpackUpdater.Apps.Manager/Features/Tools/UpdatesCollectorFeature.cs index f952a6f..65c7b5a 100644 --- a/ModpackUpdater.Apps.Manager/Features/Tools/UpdatesCollectorFeature.cs +++ b/ModpackUpdater.Apps.Manager/Features/Tools/UpdatesCollectorFeature.cs @@ -6,8 +6,10 @@ using Pilz.UI.Symbols; namespace ModpackUpdater.Apps.Manager.Features.Tools; -internal class UpdatesCollectorFeature : PluginFunction +internal class UpdatesCollectorFeature : PluginFunction, IPluginFeatureProvider { + public static UpdatesCollectorFeature Instance { get; } = new(); + public UpdatesCollectorFeature() : base(FeatureTypes.Tools, "origin.updatescollector", FeatureNamesLangRes.UpdatesCollectorFeature) { Icon = AppGlobals.Symbols.GetSvgImage(AppSymbols.search, SymbolSize.Small);