From efece39c1e4e24c562bca3169361426074a6f6b8 Mon Sep 17 00:00:00 2001 From: Vic <10308169+VictoriousRaptor@users.noreply.github.com> Date: Fri, 28 Oct 2022 16:44:44 +0800 Subject: [PATCH] Fix var for task.run --- Plugins/Flow.Launcher.Plugin.Program/Main.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Plugins/Flow.Launcher.Plugin.Program/Main.cs b/Plugins/Flow.Launcher.Plugin.Program/Main.cs index 6786a2258..e8672e249 100644 --- a/Plugins/Flow.Launcher.Plugin.Program/Main.cs +++ b/Plugins/Flow.Launcher.Plugin.Program/Main.cs @@ -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;