Explorer plugin native context menu: rename the list of ignored commands to better describe it

This commit is contained in:
Yusyuriv 2024-06-07 12:39:26 +06:00
parent 0987922cf8
commit 3ee870b249
No known key found for this signature in database
GPG key ID: A91C52E6F73148E0

View file

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