From f46e0a0d419fee68173a3d8e58d6519a3f5c8ebc Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Mon, 28 Oct 2024 11:58:14 -0400 Subject: [PATCH] Formatting --- src/Vencord.ts | 1 + src/plugins/anonymiseFileNames/index.tsx | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/Vencord.ts b/src/Vencord.ts index eee92344..a2b2f8c3 100644 --- a/src/Vencord.ts +++ b/src/Vencord.ts @@ -45,6 +45,7 @@ import { SettingsRouter } from "./webpack/common"; if (IS_REPORTER) { require("./debug/runReporter"); Settings.plugins.CharacterCounter.enabled = false; + Settings.plugins.FixFileExtensions.enabled = false; } async function syncSettings() { diff --git a/src/plugins/anonymiseFileNames/index.tsx b/src/plugins/anonymiseFileNames/index.tsx index 4613fa60..ea1ff9a9 100644 --- a/src/plugins/anonymiseFileNames/index.tsx +++ b/src/plugins/anonymiseFileNames/index.tsx @@ -20,10 +20,11 @@ import { Upload } from "@api/MessageEvents"; import { definePluginSettings, Settings } from "@api/Settings"; import ErrorBoundary from "@components/ErrorBoundary"; import { Devs } from "@utils/constants"; -import { reverseExtensionMap } from "../../equicordplugins/fixFileExtensions/components"; import definePlugin, { OptionType } from "@utils/types"; import { findByCodeLazy, findByPropsLazy } from "@webpack"; +import { reverseExtensionMap } from "../../equicordplugins/fixFileExtensions/components"; + type AnonUpload = Upload & { anonymise?: boolean; }; const ActionBarIcon = findByCodeLazy(".actionBarIcon)");