Skip to content

Commit f4c370d

Browse files
committed
Plugins: System Commands: Remove theme selector
1 parent 0249b25 commit f4c370d

File tree

2 files changed

+0
-88
lines changed

2 files changed

+0
-88
lines changed

Plugins/Flow.Launcher.Plugin.Sys/Main.cs

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,6 @@ public class Main : IPlugin, ISettingProvider, IPluginI18n
4040

4141
private PluginInitContext _context;
4242
private Settings _settings;
43-
private ThemeSelector _themeSelector;
4443
private SettingsViewModel _viewModel;
4544

4645
public Control CreateSettingPanel()
@@ -51,11 +50,6 @@ public Control CreateSettingPanel()
5150

5251
public List<Result> Query(Query query)
5352
{
54-
if (query.Search.StartsWith(ThemeSelector.Keyword))
55-
{
56-
return _themeSelector.Query(query);
57-
}
58-
5953
var commands = Commands(query);
6054
var results = new List<Result>();
6155
var isEmptyQuery = string.IsNullOrWhiteSpace(query.Search);
@@ -122,7 +116,6 @@ public void Init(PluginInitContext context)
122116
_context = context;
123117
_settings = context.API.LoadSettingJsonStorage<Settings>();
124118
_viewModel = new SettingsViewModel(_settings);
125-
_themeSelector = new ThemeSelector(context);
126119
foreach (string key in KeywordTitleMappings.Keys)
127120
{
128121
// Remove _cmd in the last of the strings

Plugins/Flow.Launcher.Plugin.Sys/ThemeSelector.cs

Lines changed: 0 additions & 81 deletions
This file was deleted.

0 commit comments

Comments
 (0)