mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Improve code quality
This commit is contained in:
parent
4749ca208a
commit
2ff09cf9b0
1 changed files with 3 additions and 8 deletions
|
|
@ -413,10 +413,7 @@ namespace Flow.Launcher.Plugin.Program
|
|||
_uwpsLock.Release();
|
||||
|
||||
// Reindex UWP programs
|
||||
_ = Task.Run(() =>
|
||||
{
|
||||
_ = IndexUwpProgramsAsync();
|
||||
});
|
||||
_ = Task.Run(IndexUwpProgramsAsync);
|
||||
return;
|
||||
}
|
||||
else
|
||||
|
|
@ -433,10 +430,8 @@ namespace Flow.Launcher.Plugin.Program
|
|||
_win32sLock.Release();
|
||||
|
||||
// Reindex Win32 programs
|
||||
_ = Task.Run(() =>
|
||||
{
|
||||
_ = IndexWin32ProgramsAsync();
|
||||
});
|
||||
_ = Task.Run(IndexWin32ProgramsAsync);
|
||||
return;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue