fixing pupu menu

This commit is contained in:
cocobo1 2025-05-04 08:52:18 +01:00
parent 05f07ee9d0
commit c9373aecf5
5 changed files with 10 additions and 10 deletions

View file

@ -49,5 +49,5 @@ jobs:
- name: Purge CDN cache
run: |
curl https://purge.jsdelivr.net/gh/C0C0B01/bunny-build-infos@${{ github.ref_name }}/pupu.js
curl https://purge.jsdelivr.net/gh/C0C0B01/pupu-build-infos@${{ github.ref_name }}/pupu.js

8
dist/pupu.js vendored
View file

@ -5732,11 +5732,11 @@
unpatches.push(after("default", findByNameLazy("getScreens", false), (_a, screens) => ({
...screens,
VendettaCustomPage: {
title: "Bunny",
title: "Pupu",
render: () => /* @__PURE__ */ jsx(CustomPageRenderer, {})
},
BUNNY_CUSTOM_PAGE: {
title: "Bunny",
PUPU_CUSTOM_PAGE: {
title: "Pupu",
render: () => /* @__PURE__ */ jsx(CustomPageRenderer, {})
}
})));
@ -5816,7 +5816,7 @@
getComponent: () => CustomPageRenderer
}
},
BUNNY_CUSTOM_PAGE: {
PUPU_CUSTOM_PAGE: {
type: "route",
title: () => "Pupu",
screen: {

View file

@ -102,7 +102,7 @@ const Actions = () => {
variant="secondary"
icon={findAssetId("WrenchIcon")}
disabled={!plugin.getPluginSettingsComponent()}
onPress={() => navigation.push("BUNNY_CUSTOM_PAGE", {
onPress={() => navigation.push("PUPU_CUSTOM_PAGE", {
title: plugin.name,
render: plugin.getPluginSettingsComponent(),
})}

View file

@ -36,11 +36,11 @@ export function patchPanelUI(unpatches: (() => void | boolean)[]) {
after("default", findByNameLazy("getScreens", false), (_a, screens) => ({
...screens,
VendettaCustomPage: {
title: "Bunny",
title: "Pupu",
render: () => <CustomPageRenderer />
},
BUNNY_CUSTOM_PAGE: {
title: "Bunny",
PUPU_CUSTOM_PAGE: {
title: "Pupu",
render: () => <CustomPageRenderer />
}
}))

View file

@ -48,7 +48,7 @@ export function patchTabsUI(unpatches: (() => void | boolean)[]) {
getComponent: () => CustomPageRenderer
}
},
BUNNY_CUSTOM_PAGE: {
PUPU_CUSTOM_PAGE: {
type: "route",
title: () => "Pupu",
screen: {