Fix file extensions not doing case-insensitive check

This commit is contained in:
2026-02-17 13:22:48 +09:00
parent ff38722e6c
commit b3b9aa5c79
+1 -1
View File
@@ -262,7 +262,7 @@ class MainViewModel : BaseViewModel, IFontResolver
var didMatch = false;
foreach (var fileExtension in fileExtensions)
{
if (filePath.EndsWith("." + fileExtension))
if (filePath.ToLower().EndsWith("." + fileExtension.ToLower()))
{
didMatch = true;
break;