diff --git a/plugins/more-alts/src/patches/sidebarPin.ts b/plugins/more-alts/src/patches/sidebarPin.ts index 1f0fba2..7c36034 100644 --- a/plugins/more-alts/src/patches/sidebarPin.ts +++ b/plugins/more-alts/src/patches/sidebarPin.ts @@ -154,17 +154,7 @@ function patchTabsUI(getRows: () => SectionRow[], patches: (() => void)[]) { cacheRows(rows); - const anchorIndex = sections.findIndex((x: any) => - ["Bunny", "Revenge", "Kettu", "Vencore", "ShiggyCord"].some( - (mod) => x.label === mod && x.title === mod - ) - ); - - sections.splice( - anchorIndex >= 0 ? anchorIndex + 1 : 0, - 0, - { label: SECTION_LABEL, title: SECTION_TITLE, settings: rows.map((r) => r.key) } - ); + sections.push({ label: SECTION_LABEL, title: SECTION_TITLE, settings: rows.map((r) => r.key) }); }) ); } catch { diff --git a/plugins/rose-plugs/src/patches/settings.ts b/plugins/rose-plugs/src/patches/settings.ts index e951150..ba64254 100644 --- a/plugins/rose-plugs/src/patches/settings.ts +++ b/plugins/rose-plugs/src/patches/settings.ts @@ -170,17 +170,7 @@ function patchTabsUI(getRows: () => SectionRow[], patches: (() => void)[]) { cacheRows(rows); - const anchorIndex = sections.findIndex((x: any) => - ["Bunny", "Revenge", "Kettu", "Vencore", "ShiggyCord"].some( - (mod) => x.label === mod && x.title === mod - ) - ); - - sections.splice( - anchorIndex >= 0 ? anchorIndex + 1 : 0, - 0, - { label: SECTION_LABEL, title: SECTION_TITLE, settings: rows.map((r) => r.key) } - ); + sections.push({ label: SECTION_LABEL, title: SECTION_TITLE, settings: rows.map((r) => r.key) }); }) ); } catch {