Skip to content
This repository was archived by the owner on Jan 24, 2023. It is now read-only.

Commit 392ef24

Browse files
committed
Added backwards compatible signature for AddCategory.
1 parent 9d67f2d commit 392ef24

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

UI/QuickMenu/ReCategoryPage.cs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,11 @@ public ReMenuCategory AddCategory(string title, bool collapsible = true)
123123
return GetCategory(title) ?? new ReMenuCategory(title, _container, collapsible);
124124
}
125125

126+
public ReMenuCategory AddCategory(string title)
127+
{
128+
return GetCategory(title) ?? new ReMenuCategory(title, _container);
129+
}
130+
126131
public ReMenuCategory GetCategory(string name)
127132
{
128133
var headerTransform = _container.Find($"Header_{GetCleanName(name)}");

0 commit comments

Comments
 (0)