mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Merge branch 'dev' into plugin_store_item_vm_null
This commit is contained in:
commit
e1f9d60eb9
1 changed files with 9 additions and 2 deletions
|
|
@ -290,7 +290,14 @@ namespace Flow.Launcher.Core.Plugin
|
|||
return Array.Empty<PluginPair>();
|
||||
|
||||
if (!NonGlobalPlugins.TryGetValue(query.ActionKeyword, out var plugin))
|
||||
return GlobalPlugins;
|
||||
{
|
||||
return GlobalPlugins.Where(p => !PluginModified(p.Metadata.ID)).ToList();
|
||||
}
|
||||
|
||||
if (API.PluginModified(plugin.Metadata.ID))
|
||||
{
|
||||
return Array.Empty<PluginPair>();
|
||||
}
|
||||
|
||||
return new List<PluginPair>
|
||||
{
|
||||
|
|
@ -300,7 +307,7 @@ namespace Flow.Launcher.Core.Plugin
|
|||
|
||||
public static ICollection<PluginPair> ValidPluginsForHomeQuery()
|
||||
{
|
||||
return _homePlugins.ToList();
|
||||
return _homePlugins.Where(p => !PluginModified(p.Metadata.ID)).ToList();
|
||||
}
|
||||
|
||||
public static async Task<List<Result>> QueryForPluginAsync(PluginPair pair, Query query, CancellationToken token)
|
||||
|
|
|
|||
Loading…
Reference in a new issue