diff --git a/src/core/i18n/default.json b/src/core/i18n/default.json index e083130..a313478 100644 --- a/src/core/i18n/default.json +++ b/src/core/i18n/default.json @@ -4,6 +4,8 @@ "ARE_YOU_SURE_TO_CLEAR_DATA": "Are you sure you wish to clear the data of {name}?", "ARE_YOU_SURE_TO_DELETE_PLUGIN": "Are you sure you wish to delete {name}? This will clear all of the plugin's data.", "ARE_YOU_SURE_TO_DELETE_THEME": "Are you sure you wish to delete {name}?", + "AUTO_DEBUGGER": "Automatically connect to Debugger", + "AUTO_DEVTOOLS": "Automatically connect to Devtools", "ASSET_BROWSER": "Asset Browser", "BRAND": "Brand", "SHIGGYCORD": "ShiggyCold", diff --git a/src/index.ts b/src/index.ts index 9bab7dc..94ac935 100644 --- a/src/index.ts +++ b/src/index.ts @@ -11,9 +11,9 @@ import { injectFluxInterceptor } from "@lib/api/flux"; import { patchJsx } from "@lib/api/react/jsx"; import { logger } from "@lib/utils/logger"; import { patchSettings } from "@ui/settings"; -import { InteractionManager } from "react-native"; import { updaterSettings } from "@lib/api/settings"; -import { getDebugInfo } from "@lib/api/debug"; +import { InteractionManager } from "react-native"; +import { getDebugInfo, initDebugger } from "@lib/api/debug"; // Debug toggle helper (temporary runtime fallback). The helper is dynamically // imported when needed (to avoid bundling it permanently) and removed after use. @@ -38,6 +38,7 @@ export default async () => { initFetchI18nStrings(), initSettings(), initFixes(), + initDebugger(), ]; // Run critical inits and collect unpatchers/cleanup handlers.