diff --git a/README.md b/README.md index d7b2f46..bdbdf2d 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -# Pupu +# Pupu [![Discord](https://img.shields.io/discord/1196075698301968455?style=social&logo=discord&label=Discord)](https://discord.gg/6cN7wKa8gp) A mod for Discord on Android ## Installing diff --git a/dist/pupu.js b/dist/pupu.js index 1e944bd..6d8d7fa 100644 --- a/dist/pupu.js +++ b/dist/pupu.js @@ -4649,7 +4649,7 @@ init_logger(); init_toasts(); import_react_native5 = __toESM(require_react_native()); - versionHash = "v0.0.3"; + versionHash = "v0.1.0"; } }); @@ -6036,8 +6036,7 @@ }, { label: import_react_native15.Platform.select({ - android: Strings.CODENAME, - ios: Strings.MACHINE_ID + android: Strings.CODENAME }), version: debugInfo.device.codename, icon: "TagIcon" @@ -13353,7 +13352,7 @@ var repo = pluginRepositories[props.url]; var isOfficial = props.url === OFFICIAL_PLUGINS_REPO_URL; return /* @__PURE__ */ jsx(TableRow, { - label: isOfficial ? "Pupu's Repository" : repo.$meta?.name ?? "Unknown", + label: isOfficial ? "Bunny's Repository" : repo.$meta?.name ?? "Unknown", subLabel: props.url, trailing: /* @__PURE__ */ jsxs(Stack, { direction: "horizontal", @@ -15223,7 +15222,7 @@ uri: pupu_default }, render: () => Promise.resolve().then(() => (init_General(), General_exports)), - useTrailing: () => `(${"v0.0.3"})` + useTrailing: () => `(${"v0.1.0"})` }, { key: "BUNNY_PLUGINS", @@ -15262,6 +15261,10 @@ name: "Bunny", items: [] }); + registerSection({ + name: "Revenge", + items: [] + }); } var init_settings3 = __esm({ "src/core/ui/settings/index.ts"() { @@ -15724,7 +15727,7 @@ alert([ "Failed to load Pupu!\n", `Build Number: ${ClientInfoManager.Build}`, - `Pupu: ${"v0.0.3"}`, + `Pupu: ${"v0.1.0"}`, stack || e?.toString?.() ].join("\n")); } diff --git a/scripts/build.mjs b/scripts/build.mjs index ef14eb2..446877e 100644 --- a/scripts/build.mjs +++ b/scripts/build.mjs @@ -72,7 +72,7 @@ const config = { constModules: { globals: { "bunny-build-info": { - version: `"v0.0.3"` + version: `"v0.1.0"` } } }, diff --git a/src/core/ui/settings/index.ts b/src/core/ui/settings/index.ts index 1db75e5..54c4bc9 100644 --- a/src/core/ui/settings/index.ts +++ b/src/core/ui/settings/index.ts @@ -62,4 +62,10 @@ export default function initSettings() { name: "Bunny", items: [] }); + + // Compat with Revenge Plugins that use configs in settings + registerSection({ + name: "Revenge", + items: [] + }); } \ No newline at end of file diff --git a/src/core/ui/settings/pages/General/About.tsx b/src/core/ui/settings/pages/General/About.tsx index 5bc71b0..68f07ca 100644 --- a/src/core/ui/settings/pages/General/About.tsx +++ b/src/core/ui/settings/pages/General/About.tsx @@ -71,7 +71,7 @@ export default function About() { icon: "MobilePhoneIcon" }, { - label: Platform.select({ android: Strings.CODENAME, ios: Strings.MACHINE_ID })!, + label: Platform.select({ android: Strings.CODENAME })!, version: debugInfo.device.codename, icon: "TagIcon" } diff --git a/src/core/ui/settings/pages/PluginBrowser/index.tsx b/src/core/ui/settings/pages/PluginBrowser/index.tsx index 1f396c6..51f40ae 100644 --- a/src/core/ui/settings/pages/PluginBrowser/index.tsx +++ b/src/core/ui/settings/pages/PluginBrowser/index.tsx @@ -203,7 +203,7 @@ function RepositoryRow(props: { url: string; }) { return ( diff --git a/src/metro/common/components.ts b/src/metro/common/components.ts index 954648c..491e67f 100644 --- a/src/metro/common/components.ts +++ b/src/metro/common/components.ts @@ -21,7 +21,7 @@ export const HelpMessage = findByNameLazy("HelpMessage"); // React Native's included SafeAreaView only adds padding on iOS. // The project doesnt build without it so it kinda has to sit here -export const { SafeAreaView, SafeAreaProvider, useSafeAreaInsets } = lazyDestructure(() => findByProps("useSafeAreaInsets")); +//export const { SafeAreaView, SafeAreaProvider, useSafeAreaInsets } = lazyDestructure(() => findByProps("useSafeAreaInsets")); // ActionSheet export const ActionSheetRow = findProp("ActionSheetRow");