diff --git a/Flow.Launcher.Core/Plugin/PluginConfig.cs b/Flow.Launcher.Core/Plugin/PluginConfig.cs index f7457b4e1b1..7c8e1a9d884 100644 --- a/Flow.Launcher.Core/Plugin/PluginConfig.cs +++ b/Flow.Launcher.Core/Plugin/PluginConfig.cs @@ -119,7 +119,7 @@ private static PluginMetadata GetPluginMetadata(string pluginDirectory) // for plugins which doesn't has ActionKeywords key metadata.ActionKeywords ??= new List { metadata.ActionKeyword }; // for plugin still use old ActionKeyword - metadata.ActionKeyword = metadata.ActionKeywords?[0]; + metadata.ActionKeyword = metadata.ActionKeywords?.FirstOrDefault() ?? string.Empty; } catch (Exception e) {