From 101593a419bc6abe2a68f10c59767f95afdca037 Mon Sep 17 00:00:00 2001 From: Hongtao Zhang Date: Sun, 30 Oct 2022 22:07:04 -0500 Subject: [PATCH] edit signature for CacheContainImage --- Flow.Launcher.Infrastructure/Image/ImageLoader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs index 0e30fe01b..ba0ee16f2 100644 --- a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs +++ b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs @@ -244,9 +244,9 @@ namespace Flow.Launcher.Infrastructure.Image option); } - public static bool CacheContainImage(string path) + public static bool CacheContainImage(string path, bool loadFullImage = false) { - return ImageCache.ContainsKey(path, false) && ImageCache[path, false] != null; + return ImageCache.ContainsKey(path, false) && ImageCache[path, loadFullImage] != null; } public static async ValueTask LoadAsync(string path, bool loadFullImage = false)