PluginsManager: remove IAsyncReloadable

no point for it, anymore
This commit is contained in:
Ioannis G 2022-01-12 19:25:42 +02:00
parent bc5a9710b3
commit d6bca894ff
No known key found for this signature in database
GPG key ID: EAC0E4E5E36AC49E

View file

@ -12,7 +12,7 @@ using System.Windows;
namespace Flow.Launcher.Plugin.PluginsManager namespace Flow.Launcher.Plugin.PluginsManager
{ {
public class Main : ISettingProvider, IAsyncPlugin, IContextMenu, IPluginI18n, IAsyncReloadable public class Main : ISettingProvider, IAsyncPlugin, IContextMenu, IPluginI18n
{ {
internal PluginInitContext Context { get; set; } internal PluginInitContext Context { get; set; }
@ -76,10 +76,5 @@ namespace Flow.Launcher.Plugin.PluginsManager
{ {
return Context.API.GetTranslation("plugin_pluginsmanager_plugin_description"); return Context.API.GetTranslation("plugin_pluginsmanager_plugin_description");
} }
public async Task ReloadDataAsync()
{
await pluginManager.UpdateManifestAsync();
}
} }
} }