Преглед изворни кода

misc: chore: remove redundant trimming on CompatibilityEntry.GameName init

Evan Husted пре 1 година
родитељ
комит
0dd789e8a5
1 измењених фајлова са 1 додато и 2 уклоњено
  1. 1 2
      src/Ryujinx/Utilities/Compat/CompatibilityCsv.cs

+ 1 - 2
src/Ryujinx/Utilities/Compat/CompatibilityCsv.cs

@@ -57,7 +57,7 @@ namespace Ryujinx.Ava.Utilities.Compat
                 ? titleIdRow 
                 : default(Optional<string>);
             
-            GameName = ColStr(row[indices.GameName]).Trim().Trim('"');
+            GameName = ColStr(row[indices.GameName]);
 
             Labels = ColStr(row[indices.Labels]).Split(';');
             Status = ColStr(row[indices.Status]).ToLower() switch
@@ -92,7 +92,6 @@ namespace Ryujinx.Ava.Utilities.Compat
             .OrElse(new string(' ', 16));
 
         public string FormattedIssueLabels => Labels
-            .Where(it => !it.StartsWithIgnoreCase("status"))
             .Select(FormatLabelName)
             .JoinToString(", ");