fix merge

This commit is contained in:
Jeremy Wu 2020-11-27 07:43:03 +11:00
parent b8b0e8c23a
commit 1c6769cbcc

View file

@ -100,17 +100,10 @@ namespace Flow.Launcher.ViewModel
}
if (ImageLoader.CacheContainImage(imagePath))
{
// will get here either when icoPath has value\icon delegate is null\when had exception in delegate
return ImageLoader.Load(imagePath);
else
{
return await Task.Run(() => ImageLoader.Load(imagePath));
}
else
{
return await Task.Run(() => ImageLoader.Load(imagePath));
}
return await Task.Run(() => ImageLoader.Load(imagePath));
}
public Result Result { get; }