Skip to content

Commit

Permalink
fix(ui/settings): register Bunny section to support bunny plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
PalmDevs committed Sep 15, 2024
1 parent ee3e53f commit 03893ab
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/core/ui/settings/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import { version } from "bunny-build-info";
export { PyoncordIcon };

export default function initSettings() {

registerSection({
name: Strings.BUNNY,
items: [
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 03893ab

Please sign in to comment.