From c293a273ca5b7839d715e7a94cd436c4a01ab7c1 Mon Sep 17 00:00:00 2001 From: Spencer Stream Date: Mon, 22 Sep 2025 21:53:54 -0500 Subject: [PATCH] Fix nitpick on extension string comparison --- Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs b/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs index dbe6a694b..68940ff6a 100644 --- a/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs +++ b/Flow.Launcher.Infrastructure/Image/ThumbnailReader.cs @@ -42,8 +42,8 @@ namespace Flow.Launcher.Infrastructure.Image { HBITMAP hBitmap; - var extension = Path.GetExtension(fileName)?.ToLowerInvariant(); - if (extension is UrlExtension) + var extension = Path.GetExtension(fileName); + if (string.Equals(extension, UrlExtension, StringComparison.OrdinalIgnoreCase)) { hBitmap = GetHBitmapForUrlFile(fileName, width, height, options); }