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

Commit bcdfd48

Browse files
committed
Expose Collapsable parameter on ReCategoryPage.cs AddCategory
1 parent 1c0bbce commit bcdfd48

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 collapsable = true)
122122
{
123-
return GetCategory(title) ?? new ReMenuCategory(title, _container);
123+
return GetCategory(title) ?? new ReMenuCategory(title, _container, collapsable);
124124
}
125125

126126
public ReMenuCategory GetCategory(string name)

0 commit comments

Comments
 (0)