Skip to content

Commit

Permalink
Fix SectionNameOrder
Browse files Browse the repository at this point in the history
  • Loading branch information
Menci committed Nov 26, 2024
1 parent f758426 commit d207eac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion AquaMai/AquaMai.Config/Reflection/ReflectionManager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ public ReflectionManager(IReflectionProvider reflectionProvider)
sectionsByFullName.Add(type.FullName, section);
}

var order = reflectionProvider.GetEnum("AquaMai.Mods.SetionNameOrder");
var order = reflectionProvider.GetEnum("AquaMai.Mods.SectionNameOrder");
sections = sections
.OrderBy(x => x.Key)
.OrderBy(x =>
Expand Down
4 changes: 2 additions & 2 deletions AquaMai/AquaMai.Mods/General.cs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ Mod 界面的语言,支持 en 和 zh
public static readonly string locale = "";
}

// Please add/remove corresponding entries in SetionNameOrder enum when adding/removing sections.
public enum SetionNameOrder
// Please add/remove corresponding entries in SectionNameOrder enum when adding/removing sections.
public enum SectionNameOrder
{
DeprecationWarning,
General,
Expand Down

0 comments on commit d207eac

Please sign in to comment.