From 3ee870b249ba85ee48eecd036c3ee896295ece12 Mon Sep 17 00:00:00 2001 From: Yusyuriv Date: Fri, 7 Jun 2024 12:39:26 +0600 Subject: [PATCH] Explorer plugin native context menu: rename the list of ignored commands to better describe it --- .../Helper/ShellContextMenuDisplayHelper.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenuDisplayHelper.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenuDisplayHelper.cs index b01413285..860b6b33c 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenuDisplayHelper.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenuDisplayHelper.cs @@ -66,7 +66,7 @@ public static class ShellContextMenuDisplayHelper private const uint ContextMenuEndId = 0x7FFF; // We haven't managed to make these work, so we don't display them in the context menu. - private static readonly string[] IgnoredContextMenuOptions = + private static readonly string[] IgnoredContextMenuCommands = { "share", "Windows.ModernShare", @@ -286,7 +286,7 @@ public static class ShellContextMenuDisplayHelper commandBuilder, commandBuilder.Capacity ); - if (IgnoredContextMenuOptions.Contains(commandBuilder.ToString(), StringComparer.OrdinalIgnoreCase)) + if (IgnoredContextMenuCommands.Contains(commandBuilder.ToString(), StringComparer.OrdinalIgnoreCase)) { continue; }