Skip to content

Commit 6409c19

Browse files
committed
Add code comments
1 parent 950a4a0 commit 6409c19

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Flow.Launcher/ViewModel/PluginViewModel.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,8 @@ public double PluginSearchDelayTime
123123
public bool HasSettingControl =>
124124
PluginManager.IsInitFailed(PluginPair.Metadata.ID) && // Do not show setting panel for init failed plugins
125125
PluginPair.Plugin is ISettingProvider &&
126-
(PluginPair.Plugin is not JsonRPCPluginBase jsonRPCPluginBase || jsonRPCPluginBase.NeedCreateSettingPanel());
126+
(PluginPair.Plugin is not JsonRPCPluginBase jsonRPCPluginBase || // Is not JsonRPC plugin
127+
jsonRPCPluginBase.NeedCreateSettingPanel()); // Is JsonRPC plugin and need to create setting panel
127128

128129
public Control SettingControl
129130
=> IsExpanded

0 commit comments

Comments
 (0)