mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Remove contextmenu of windowsseting plugin
This commit is contained in:
parent
4a3f134840
commit
e62f6d98df
1 changed files with 1 additions and 15 deletions
|
|
@ -21,21 +21,7 @@ namespace Flow.Launcher.Plugin.WindowsSettings.Helper
|
|||
/// <returns>A list with context menu entries</returns>
|
||||
internal static List<Result> GetContextMenu(in Result result, in string assemblyName)
|
||||
{
|
||||
if (result?.ContextData is not WindowsSetting entry)
|
||||
{
|
||||
return new List<Result>(0);
|
||||
}
|
||||
|
||||
var list = new List<Result>(1)
|
||||
{
|
||||
new()
|
||||
{
|
||||
Action = _ => TryToCopyToClipBoard(entry.Command),
|
||||
Title = $"{Resources.CopyCommand} (Ctrl+C)",
|
||||
},
|
||||
};
|
||||
|
||||
return list;
|
||||
return new List<Result>(0);
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
|
|
|||
Loading…
Reference in a new issue