use < instead of !=

This commit is contained in:
Kevin Zhang 2021-08-05 14:31:03 +08:00
parent d2bec9c28f
commit 6a1bb17fb6

View file

@ -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