Remove await Task.Run for IconDelegate (#1704)

Let's trust plugin developer when they use that for icon
This commit is contained in:
Kevin Zhang 2023-01-09 09:03:10 -06:00 committed by GitHub
parent c0f46f24de
commit 5e0adbaf36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -188,7 +188,7 @@ namespace Flow.Launcher.ViewModel
{
try
{
var image = await Task.Run(() => icon()).ConfigureAwait(false);
var image = icon();
return image;
}
catch (Exception e)