From 6a1bb17fb699e9bd53ab0020016f35c2978af4ab Mon Sep 17 00:00:00 2001 From: Kevin Zhang Date: Thu, 5 Aug 2021 14:31:03 +0800 Subject: [PATCH] use < instead of != --- Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs b/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs index abce8b41e..fd2464f2e 100644 --- a/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs +++ b/Flow.Launcher.Infrastructure/UserSettings/PluginSettings.cs @@ -18,7 +18,7 @@ namespace Flow.Launcher.Infrastructure.UserSettings // TODO: Remove. This is backwards compatibility for 1.8.0 release. // Introduced two new action keywords in Explorer, so need to update plugin setting in the UserData folder. - if (metadata.ID == "572be03c74c642baae319fc283e561a8" && metadata.ActionKeywords.Count != settings.ActionKeywords.Count) + if (metadata.ID == "572be03c74c642baae319fc283e561a8" && metadata.ActionKeywords.Count > settings.ActionKeywords.Count) { settings.ActionKeywords.Add(Query.GlobalPluginWildcardSign); // for index search settings.ActionKeywords.Add(Query.GlobalPluginWildcardSign); // for path search