Skip to content

Commit efece39

Browse files
Fix var for task.run
1 parent 874383b commit efece39

File tree

1 file changed

+2
-2
lines changed
  • Plugins/Flow.Launcher.Plugin.Program

1 file changed

+2
-2
lines changed

Plugins/Flow.Launcher.Plugin.Program/Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ private static void DisableProgram(IProgram programToDelete)
195195
_uwps.First(x => x.UniqueIdentifier == programToDelete.UniqueIdentifier)
196196
.Enabled = false;
197197
_settings.DisabledProgramSources.Add(new DisabledProgramSource(programToDelete));
198-
var t1 = Task.Run(() =>
198+
_ = Task.Run(() =>
199199
{
200200
IndexUwpPrograms();
201201
_settings.LastIndexTime = DateTime.Today;
@@ -206,7 +206,7 @@ private static void DisableProgram(IProgram programToDelete)
206206
_win32s.First(x => x.UniqueIdentifier == programToDelete.UniqueIdentifier)
207207
.Enabled = false;
208208
_settings.DisabledProgramSources.Add(new DisabledProgramSource(programToDelete));
209-
var t1 = Task.Run(() =>
209+
_ = Task.Run(() =>
210210
{
211211
IndexWin32Programs();
212212
_settings.LastIndexTime = DateTime.Today;

0 commit comments

Comments
 (0)