mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
Fix nitpick on extension string comparison
This commit is contained in:
parent
90c73e5e3d
commit
c293a273ca
1 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue