Skip to content

Commit e62f6d9

Browse files
committed
Remove contextmenu of windowsseting plugin
1 parent 4a3f134 commit e62f6d9

File tree

1 file changed

+1
-15
lines changed

1 file changed

+1
-15
lines changed

Plugins/Flow.Launcher.Plugin.WindowsSettings/Helper/ContextMenuHelper.cs

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,21 +21,7 @@ internal static class ContextMenuHelper
2121
/// <returns>A list with context menu entries</returns>
2222
internal static List<Result> GetContextMenu(in Result result, in string assemblyName)
2323
{
24-
if (result?.ContextData is not WindowsSetting entry)
25-
{
26-
return new List<Result>(0);
27-
}
28-
29-
var list = new List<Result>(1)
30-
{
31-
new()
32-
{
33-
Action = _ => TryToCopyToClipBoard(entry.Command),
34-
Title = $"{Resources.CopyCommand} (Ctrl+C)",
35-
},
36-
};
37-
38-
return list;
24+
return new List<Result>(0);
3925
}
4026

4127
/// <summary>

0 commit comments

Comments
 (0)