diff --git a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs index c5bba9fed..4592269a2 100644 --- a/Flow.Launcher.Infrastructure/Image/ImageLoader.cs +++ b/Flow.Launcher.Infrastructure/Image/ImageLoader.cs @@ -223,6 +223,7 @@ namespace Flow.Launcher.Infrastructure.Image catch (NotSupportedException) { image = null; + type = ImageType.Error; } } else @@ -249,7 +250,7 @@ namespace Flow.Launcher.Infrastructure.Image if (type != ImageType.Error) { - image?.Freeze(); + image.Freeze(); } return new ImageResult(image, type);