Skip to content

Commit 950a4a0

Browse files
committed
Code quality
1 parent 67c940f commit 950a4a0

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
@@ -120,8 +120,9 @@ public double PluginSearchDelayTime
120120
private Control _bottomPart2;
121121
public Control BottomPart2 => IsExpanded ? _bottomPart2 ??= new InstalledPluginDisplayBottomData() : null;
122122

123-
public bool HasSettingControl => PluginPair.Plugin is ISettingProvider &&
123+
public bool HasSettingControl =>
124124
PluginManager.IsInitFailed(PluginPair.Metadata.ID) && // Do not show setting panel for init failed plugins
125+
PluginPair.Plugin is ISettingProvider &&
125126
(PluginPair.Plugin is not JsonRPCPluginBase jsonRPCPluginBase || jsonRPCPluginBase.NeedCreateSettingPanel());
126127

127128
public Control SettingControl

0 commit comments

Comments
 (0)