From de498b74c7cd008fc22cddf6e61e06e94d29c240 Mon Sep 17 00:00:00 2001 From: thororen1234 <78185467+thororen1234@users.noreply.github.com> Date: Thu, 15 Aug 2024 01:51:30 -0400 Subject: [PATCH] Fix Addback disabled by default --- src/plugins/webContextMenus.web/index.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/webContextMenus.web/index.ts b/src/plugins/webContextMenus.web/index.ts index 64891e57..d7f190ec 100644 --- a/src/plugins/webContextMenus.web/index.ts +++ b/src/plugins/webContextMenus.web/index.ts @@ -22,7 +22,6 @@ import definePlugin, { OptionType } from "@utils/types"; import { saveFile } from "@utils/web"; import { findByPropsLazy } from "@webpack"; import { Clipboard, ComponentDispatch } from "@webpack/common"; - const ctxMenuCallbacks = findByPropsLazy("contextMenuCallbackNative"); async function fetchImage(url: string) { @@ -41,7 +40,7 @@ const settings = definePluginSettings({ description: "Add back the Discord context menus for images, links and the chat input bar", // Web slate menu has proper spellcheck suggestions and image context menu is also pretty good, // so disable this by default. Vesktop just doesn't, so enable by default - default: IS_VESKTOP || IS_EQUIBOP, + default: !IS_DISCORD_DESKTOP && !IS_WEB, restartNeeded: true } });