mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Wrap non async part in task
This commit is contained in:
parent
67443fdde8
commit
3665bd9efc
1 changed files with 1 additions and 1 deletions
|
|
@ -136,7 +136,7 @@ namespace Flow.Launcher.Infrastructure.Image
|
|||
path = Path.Combine(Constant.ProgramDirectory, "Images", Path.GetFileName(path));
|
||||
}
|
||||
|
||||
imageResult = GetThumbnailResult(ref path, loadFullImage);
|
||||
imageResult = await Task.Run(() => GetThumbnailResult(ref path, loadFullImage));
|
||||
}
|
||||
catch (System.Exception e)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue