diff --git a/src/plugins/_api/imageModal.ts b/src/plugins/_api/imageModal.ts deleted file mode 100644 index c4163b31..00000000 --- a/src/plugins/_api/imageModal.ts +++ /dev/null @@ -1,24 +0,0 @@ -/* - * Vencord, a Discord client mod - * Copyright (c) 2024 Vendicated and contributors - * SPDX-License-Identifier: GPL-3.0-or-later - */ - -import { Devs } from "@utils/constants"; -import definePlugin from "@utils/types"; - - -export default definePlugin({ - name: "ImageModalAPI", - authors: [Devs.sadan, Devs.Nuckyz], - description: "Allows you to open Image Modals", - patches: [ - { - find: "SCALE_DOWN:", - replacement: { - match: /!\(null==(\i)\|\|0===\i\|\|null==(\i)\|\|0===\i\)/, - replace: (_, width, height) => `!((null == ${width} || 0 === ${width}) && (null == ${height} || 0 === ${height}))` - } - } - ] -}); diff --git a/src/plugins/betterRoleContext/index.tsx b/src/plugins/betterRoleContext/index.tsx index 687eded9..1029c07e 100644 --- a/src/plugins/betterRoleContext/index.tsx +++ b/src/plugins/betterRoleContext/index.tsx @@ -65,7 +65,7 @@ export default definePlugin({ name: "BetterRoleContext", description: "Adds options to copy role color / edit role / view role icon when right clicking roles in the user profile", authors: [Devs.Ven, Devs.goodbee], - dependencies: ["UserSettingsAPI", "ImageModalAPI"], + dependencies: ["UserSettingsAPI"], settings, diff --git a/src/plugins/biggerStreamPreview/index.tsx b/src/plugins/biggerStreamPreview/index.tsx index c5cff9bd..92b6f57f 100644 --- a/src/plugins/biggerStreamPreview/index.tsx +++ b/src/plugins/biggerStreamPreview/index.tsx @@ -93,7 +93,6 @@ export default definePlugin({ name: "BiggerStreamPreview", description: "This plugin allows you to enlarge stream previews", authors: [Devs.phil], - dependencies: ["ImageModalAPI"], contextMenus: { "user-context": userContextPatch, "stream-context": streamContextPatch diff --git a/src/plugins/spotifyControls/index.tsx b/src/plugins/spotifyControls/index.tsx index b9880cc1..0b99f28a 100644 --- a/src/plugins/spotifyControls/index.tsx +++ b/src/plugins/spotifyControls/index.tsx @@ -33,7 +33,6 @@ export default definePlugin({ name: "SpotifyControls", description: "Adds a Spotify player above the account panel", authors: [Devs.Ven, Devs.afn, Devs.KraXen72, Devs.Av32000], - dependencies: ["ImageModalAPI"], options: { hoverControls: { description: "Show controls on hover", diff --git a/src/plugins/viewIcons/index.tsx b/src/plugins/viewIcons/index.tsx index 5f744d3f..62970814 100644 --- a/src/plugins/viewIcons/index.tsx +++ b/src/plugins/viewIcons/index.tsx @@ -175,7 +175,6 @@ export default definePlugin({ name: "ViewIcons", authors: [Devs.Ven, Devs.TheKodeToad, Devs.Nuckyz, Devs.nyx], description: "Makes avatars and banners in user profiles clickable, adds View Icon/Banner entries in the user, server and group channel context menu.", - dependencies: ["ImageModalAPI"], tags: ["ImageUtilities"], dependencies: ["DynamicImageModalAPI"],