Show setting panel for initializing or init failed plugins

This commit is contained in:
Jack251970 2025-10-03 16:04:26 +08:00
parent 54e693d0e2
commit 9d7ac851bd

View file

@ -132,7 +132,6 @@ namespace Flow.Launcher.ViewModel
public Control BottomPart2 => IsExpanded ? _bottomPart2 ??= new InstalledPluginDisplayBottomData() : null;
public bool HasSettingControl =>
!PluginManager.IsInitializingOrInitFailed(PluginPair.Metadata.ID) && // Do not show setting panel for initializing or init failed plugins
PluginPair.Plugin is ISettingProvider &&
(PluginPair.Plugin is not JsonRPCPluginBase jsonRPCPluginBase || // Is not JsonRPC plugin
jsonRPCPluginBase.NeedCreateSettingPanel()); // Is JsonRPC plugin and need to create setting panel