Skip to content

Commit 0079a88

Browse files
minor refactor
1 parent 5f6bcde commit 0079a88

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Program/AddProgramSource.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ public AddProgramSource(PluginInitContext context, Settings settings)
2727
btnAdd.Content = _context.API.GetTranslation("flowlauncher_plugin_program_add");
2828
}
2929

30-
public AddProgramSource(PluginInitContext context, ProgramSource source, Settings settings)
30+
public AddProgramSource(PluginInitContext context, Settings settings, ProgramSource source)
3131
{
3232
InitializeComponent();
3333
_context = context;

Plugins/Flow.Launcher.Plugin.Program/Views/ProgramSetting.xaml.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ private void EditProgramSource(ProgramSource selectedProgramSource)
160160
}
161161
else
162162
{
163-
var add = new AddProgramSource(context, selectedProgramSource, _settings);
163+
var add = new AddProgramSource(context, _settings, selectedProgramSource);
164164
if (add.ShowDialog() ?? false)
165165
{
166166
if (selectedProgramSource.Enabled)

0 commit comments

Comments
 (0)