File tree Expand file tree Collapse file tree 2 files changed +3
-7
lines changed
Plugins/Flow.Launcher.Plugin.PluginsManager Expand file tree Collapse file tree 2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change 1
- using Flow . Launcher . Infrastructure . UserSettings ;
1
+ using Flow . Launcher . Infrastructure . UserSettings ;
2
2
using Flow . Launcher . Plugin . PluginsManager . Models ;
3
3
using System ;
4
4
using System . Collections . Generic ;
@@ -10,12 +10,9 @@ internal class ContextMenu : IContextMenu
10
10
{
11
11
private PluginInitContext Context { get ; set ; }
12
12
13
- private Settings Settings { get ; set ; }
14
-
15
- public ContextMenu ( PluginInitContext context , Settings settings )
13
+ public ContextMenu ( PluginInitContext context )
16
14
{
17
15
Context = context ;
18
- Settings = settings ;
19
16
}
20
17
21
18
public List < Result > LoadContextMenus ( Result selectedResult )
Original file line number Diff line number Diff line change 1
1
using Flow . Launcher . Infrastructure . Storage ;
2
- using Flow . Launcher . Infrastructure . UserSettings ;
3
2
using Flow . Launcher . Plugin . PluginsManager . ViewModels ;
4
3
using Flow . Launcher . Plugin . PluginsManager . Views ;
5
4
using System . Collections . Generic ;
@@ -35,7 +34,7 @@ public void Init(PluginInitContext context)
35
34
Context = context ;
36
35
viewModel = new SettingsViewModel ( context ) ;
37
36
Settings = viewModel . Settings ;
38
- contextMenu = new ContextMenu ( Context , Settings ) ;
37
+ contextMenu = new ContextMenu ( Context ) ;
39
38
pluginManager = new PluginsManager ( Context , Settings ) ;
40
39
_lastUpdateTime = DateTime . Now ;
41
40
}
You can’t perform that action at this time.
0 commit comments