Skip to content

Commit 3ee870b

Browse files
committed
Explorer plugin native context menu: rename the list of ignored commands to better describe it
1 parent 0987922 commit 3ee870b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Helper/ShellContextMenuDisplayHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ private static extern uint GetMenuString(
6666
private const uint ContextMenuEndId = 0x7FFF;
6767

6868
// We haven't managed to make these work, so we don't display them in the context menu.
69-
private static readonly string[] IgnoredContextMenuOptions =
69+
private static readonly string[] IgnoredContextMenuCommands =
7070
{
7171
"share",
7272
"Windows.ModernShare",
@@ -286,7 +286,7 @@ private static void ProcessMenuWithIcons(IntPtr hMenu, IContextMenu contextMenu,
286286
commandBuilder,
287287
commandBuilder.Capacity
288288
);
289-
if (IgnoredContextMenuOptions.Contains(commandBuilder.ToString(), StringComparer.OrdinalIgnoreCase))
289+
if (IgnoredContextMenuCommands.Contains(commandBuilder.ToString(), StringComparer.OrdinalIgnoreCase))
290290
{
291291
continue;
292292
}

0 commit comments

Comments
 (0)