Use Gommon.StringUtils.EqualsIgnoreCase as suggested

This commit is contained in:
WilliamWsyHK
2025-07-26 11:25:25 +08:00
parent 476dcab6e9
commit cc5e3ac6c5

View File

@ -51,7 +51,7 @@ namespace Ryujinx.Ava.UI.ViewModels
{
foreach (var entry in CompatibilityDatabase.Entries)
{
entry.GameName = _appLibrary.Applications.Items.SingleOrDefault(x => string.Equals(x.IdString, entry.TitleId, StringComparison.OrdinalIgnoreCase))?.Name ?? entry.GameName;
entry.GameName = _appLibrary.Applications.Items.SingleOrDefault(x => x.IdString.EqualsIgnoreCase(entry.TitleId))?.Name ?? entry.GameName;
}
}