mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix var for task.run
This commit is contained in:
parent
874383bd07
commit
efece39c1e
1 changed files with 2 additions and 2 deletions
|
|
@ -195,7 +195,7 @@ namespace Flow.Launcher.Plugin.Program
|
|||
_uwps.First(x => x.UniqueIdentifier == programToDelete.UniqueIdentifier)
|
||||
.Enabled = false;
|
||||
_settings.DisabledProgramSources.Add(new DisabledProgramSource(programToDelete));
|
||||
var t1 = Task.Run(() =>
|
||||
_ = Task.Run(() =>
|
||||
{
|
||||
IndexUwpPrograms();
|
||||
_settings.LastIndexTime = DateTime.Today;
|
||||
|
|
@ -206,7 +206,7 @@ namespace Flow.Launcher.Plugin.Program
|
|||
_win32s.First(x => x.UniqueIdentifier == programToDelete.UniqueIdentifier)
|
||||
.Enabled = false;
|
||||
_settings.DisabledProgramSources.Add(new DisabledProgramSource(programToDelete));
|
||||
var t1 = Task.Run(() =>
|
||||
_ = Task.Run(() =>
|
||||
{
|
||||
IndexWin32Programs();
|
||||
_settings.LastIndexTime = DateTime.Today;
|
||||
|
|
|
|||
Loading…
Reference in a new issue