We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cfb2ca1 commit 2155602Copy full SHA for 2155602
Plugins/Flow.Launcher.Plugin.PluginsManager/ContextMenu.cs
@@ -17,9 +17,7 @@ public ContextMenu(PluginInitContext context)
17
18
public List<Result> LoadContextMenus(Result selectedResult)
19
{
20
- var pluginManifestInfo = selectedResult.ContextData as UserPlugin;
21
-
22
- if (pluginManifestInfo == null)
+ if(selectedResult.ContextData is not UserPlugin pluginManifestInfo)
23
return new List<Result>();
24
25
return new List<Result>
0 commit comments