fix(ui/settings): register Bunny section to support bunny plugins
This commit is contained in:
parent
ee3e53f943
commit
03893ab69c
1 changed files with 7 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import { version } from "bunny-build-info";
|
|||
export { PyoncordIcon };
|
||||
|
||||
export default function initSettings() {
|
||||
|
||||
registerSection({
|
||||
name: Strings.BUNNY,
|
||||
items: [
|
||||
|
|
@ -51,6 +52,12 @@ export default function initSettings() {
|
|||
}
|
||||
]
|
||||
});
|
||||
|
||||
// Retain compatibility with plugins which inject into this section
|
||||
registerSection({
|
||||
name: "Bunny",
|
||||
items: []
|
||||
})
|
||||
|
||||
// Compat for plugins which injects into the settings
|
||||
// Flaw: in the old UI, this will be displayed anyway with no items
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue