Remove error codes

This commit is contained in:
Jack251970 2025-07-21 17:17:11 +08:00
parent 9149e3f201
commit 8d03fcee2e

View file

@ -651,12 +651,6 @@ namespace Flow.Launcher.Core.Plugin
if (oldActionkeyword != Query.GlobalPluginWildcardSign)
{
_nonGlobalPlugins.TryRemove(oldActionkeyword, out var item);
// If the removed item is not the same as the plugin being removed,
// we should add it back to non-global plugins
if (item.Metadata.ID != id)
{
_nonGlobalPlugins.TryAdd(oldActionkeyword, item);
}
}
// Update action keywords and action keyword in plugin metadata