Fix image cache and hash correspondence

This commit is contained in:
VictoriousRaptor 2023-04-07 11:00:44 +08:00 committed by GitHub
parent 040d4136b3
commit dbfa72a95e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -269,7 +269,7 @@ namespace Flow.Launcher.Infrastructure.Image
if (GuidToKey.TryGetValue(hash, out string key))
{ // image already exists
img = ImageCache[key, false] ?? img;
img = ImageCache[key, loadFullImage] ?? img;
}
else
{ // new guid