Skip to content

Commit

Permalink
[Plugin] Fix plugin Categories selector showing Plugin category and n…
Browse files Browse the repository at this point in the history
…ot System.
  • Loading branch information
mpaperno committed Aug 2, 2022
1 parent 4bd81d3 commit 1397c90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MSFSTouchPortalPlugin/Constants/Categories.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ internal static class Categories
/* SimSystem, */ "System",
};

private static readonly List<string> usableCategoryNames = categoryNames.GetRange(1, categoryNames.Count - 2);
private static readonly List<string> usableCategoryNames = categoryNames.GetRange(2, categoryNames.Count - 2);

public static IReadOnlyCollection<string> ListAll => categoryNames;
public static IReadOnlyCollection<string> ListUsable => usableCategoryNames; // w/out None and Plugin
Expand Down

0 comments on commit 1397c90

Please sign in to comment.