Fixed group titles to show actual name when only one version is favorited
Updated the version name logic in gallery view to display the actual game name instead of the simplified base name when only one version of a grouped game is present in favorites
This commit is contained in:
@@ -222,6 +222,9 @@ public class FastGalleryPanel : Control
|
||||
{
|
||||
if (versions == null || versions.Count == 0) return "";
|
||||
|
||||
// If only one version, use actual name
|
||||
if (versions.Count == 1) return versions[0].Text;
|
||||
|
||||
// Get base name without (...) - except (MR-Fix)
|
||||
string name = versions.OrderBy(v => v.Text.Length).First().Text;
|
||||
bool hasMrFix = name.IndexOf("(MR-Fix)", StringComparison.OrdinalIgnoreCase) >= 0;
|
||||
|
||||
Reference in New Issue
Block a user