Skip to content

Commit a9a705f

Browse files
Jack251970Copilot
andauthored
Fix logic
Co-authored-by: Copilot <[email protected]>
1 parent 6409c19 commit a9a705f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Flow.Launcher/ViewModel/PluginViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public double PluginSearchDelayTime
121121
public Control BottomPart2 => IsExpanded ? _bottomPart2 ??= new InstalledPluginDisplayBottomData() : null;
122122

123123
public bool HasSettingControl =>
124-
PluginManager.IsInitFailed(PluginPair.Metadata.ID) && // Do not show setting panel for init failed plugins
124+
!PluginManager.IsInitFailed(PluginPair.Metadata.ID) && // Do not show setting panel for init failed plugins
125125
PluginPair.Plugin is ISettingProvider &&
126126
(PluginPair.Plugin is not JsonRPCPluginBase jsonRPCPluginBase || // Is not JsonRPC plugin
127127
jsonRPCPluginBase.NeedCreateSettingPanel()); // Is JsonRPC plugin and need to create setting panel

0 commit comments

Comments
 (0)