mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Append full image type to path if we're caching a full imagefile
This commit is contained in:
parent
832c41f3dd
commit
a53b961406
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue