mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Show setting panel for initializing or initialization failed plugins
This commit is contained in:
parent
9d7ac851bd
commit
793476432b
1 changed files with 2 additions and 0 deletions
|
|
@ -132,6 +132,8 @@ namespace Flow.Launcher.ViewModel
|
|||
public Control BottomPart2 => IsExpanded ? _bottomPart2 ??= new InstalledPluginDisplayBottomData() : null;
|
||||
|
||||
public bool HasSettingControl =>
|
||||
// Here we do not check if the plugin is initialized successfully
|
||||
// So we can let users change settings for initializing or initialization 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue