Skip to content

Commit f2e5006

Browse files
committed
Code quality & Fix build issue
1 parent 3f0641a commit f2e5006

File tree

3 files changed

+6
-11
lines changed

3 files changed

+6
-11
lines changed
Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-

2-
using Flow.Launcher.Plugin.PluginsManager.ViewModels;
1+
using Flow.Launcher.Plugin.PluginsManager.ViewModels;
32

43
namespace Flow.Launcher.Plugin.PluginsManager.Views
54
{
@@ -8,15 +7,11 @@ namespace Flow.Launcher.Plugin.PluginsManager.Views
87
/// </summary>
98
public partial class PluginsManagerSettings
109
{
11-
private readonly SettingsViewModel viewModel;
12-
1310
internal PluginsManagerSettings(SettingsViewModel viewModel)
1411
{
1512
InitializeComponent();
1613

17-
this.viewModel = viewModel;
18-
19-
this.DataContext = viewModel;
14+
DataContext = viewModel;
2015
}
2116
}
2217
}

Plugins/Flow.Launcher.Plugin.ProcessKiller/Flow.Launcher.Plugin.ProcessKiller.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
1414
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
1515
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
16+
<UseWPF>true</UseWPF>
1617
</PropertyGroup>
1718

1819
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">

Plugins/Flow.Launcher.Plugin.ProcessKiller/Views/SettingsControl.xaml.cs

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,13 @@ namespace Flow.Launcher.Plugin.ProcessKiller.Views;
55

66
public partial class SettingsControl : UserControl
77
{
8-
private readonly SettingsViewModel _viewModel;
9-
8+
/// <summary>
9+
/// Interaction logic for SettingsControl.xaml
10+
/// </summary>
1011
public SettingsControl(SettingsViewModel viewModel)
1112
{
1213
InitializeComponent();
1314

14-
_viewModel = viewModel;
15-
1615
DataContext = viewModel;
1716
}
1817
}

0 commit comments

Comments
 (0)