Append full image type to path if we're caching a full imagefile

This commit is contained in:
Garulf 2022-09-02 07:38:25 -04:00
parent 832c41f3dd
commit a53b961406

View file

@ -228,6 +228,10 @@ namespace Flow.Launcher.Infrastructure.Image
if (imageResult.ImageType != ImageType.Error && imageResult.ImageType != ImageType.Cache)
{ // we need to get image hash
string hash = EnableImageHash ? _hashGenerator.GetHashFromImage(img) : null;
if (imageResult.ImageType == ImageType.FullImageFile)
{
path = path + ImageType.FullImageFile;
}
if (hash != null)
{