mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix plugin page logic
This commit is contained in:
parent
f808469285
commit
bef1feea0a
1 changed files with 4 additions and 3 deletions
|
|
@ -115,9 +115,10 @@ public partial class SettingsPanePluginsViewModel : BaseModel
|
|||
}
|
||||
|
||||
private List<PluginViewModel>? _pluginViewModels;
|
||||
// Get all initialized plugins and ignore those that are not initialized
|
||||
// Include those init failed plugins so that we can uninstall them
|
||||
public List<PluginViewModel> PluginViewModels => _pluginViewModels ??= PluginManager.GetAllInitializedPlugins(true)
|
||||
// Get all plugins: Initializing & Initialized & Init failed plugins
|
||||
// Include init failed ones so that we can uninstall them
|
||||
// Include initializing ones so that we can change related settings like action keywords, etc.
|
||||
public List<PluginViewModel> PluginViewModels => _pluginViewModels ??= App.API.GetAllPlugins()
|
||||
.OrderBy(plugin => plugin.Metadata.Disabled)
|
||||
.ThenBy(plugin => plugin.Metadata.Name)
|
||||
.Select(plugin => new PluginViewModel
|
||||
|
|
|
|||
Loading…
Reference in a new issue