mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
minor refactor
This commit is contained in:
parent
5f6bcdef6e
commit
0079a882be
2 changed files with 2 additions and 2 deletions
|
|
@ -27,7 +27,7 @@ namespace Flow.Launcher.Plugin.Program
|
|||
btnAdd.Content = _context.API.GetTranslation("flowlauncher_plugin_program_add");
|
||||
}
|
||||
|
||||
public AddProgramSource(PluginInitContext context, ProgramSource source, Settings settings)
|
||||
public AddProgramSource(PluginInitContext context, Settings settings, ProgramSource source)
|
||||
{
|
||||
InitializeComponent();
|
||||
_context = context;
|
||||
|
|
|
|||
|
|
@ -160,7 +160,7 @@ namespace Flow.Launcher.Plugin.Program.Views
|
|||
}
|
||||
else
|
||||
{
|
||||
var add = new AddProgramSource(context, selectedProgramSource, _settings);
|
||||
var add = new AddProgramSource(context, _settings, selectedProgramSource);
|
||||
if (add.ShowDialog() ?? false)
|
||||
{
|
||||
if (selectedProgramSource.Enabled)
|
||||
|
|
|
|||
Loading…
Reference in a new issue