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

Commit 7ba01a0

Browse files
authored
Merge pull request #4 from ddakebono/master
Expose Collapsible on ReCategoryPage AddCategory
2 parents 1c0bbce + 2cc2f09 commit 7ba01a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

UI/QuickMenu/ReCategoryPage.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ public void Open()
118118
OnOpen?.Invoke();
119119
}
120120

121-
public ReMenuCategory AddCategory(string title)
121+
public ReMenuCategory AddCategory(string title, bool collapsible = true)
122122
{
123-
return GetCategory(title) ?? new ReMenuCategory(title, _container);
123+
return GetCategory(title) ?? new ReMenuCategory(title, _container, collapsible);
124124
}
125125

126126
public ReMenuCategory GetCategory(string name)

0 commit comments

Comments
 (0)