aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorActuallyTheSun <78964224+ActuallyTheSun@users.noreply.github.com>2023-01-05 17:03:44 +0200
committerGitHub <noreply@github.com>2023-01-05 16:03:44 +0100
commitb8ed72286bfca5cbcae55ca37c5968079e43a352 (patch)
tree2ec5321aa24c57d12c568b93748f104510c197bd
parent9c5a149fb116c30d6f5dbea7162f9e061a87b5d4 (diff)
downloadVencord-b8ed72286bfca5cbcae55ca37c5968079e43a352.tar.gz
Vencord-b8ed72286bfca5cbcae55ca37c5968079e43a352.tar.bz2
Vencord-b8ed72286bfca5cbcae55ca37c5968079e43a352.zip
fix(ViewIcons): module not found (#382)
-rw-r--r--src/plugins/viewIcons.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/viewIcons.tsx b/src/plugins/viewIcons.tsx
index 1b96527..0eb36bb 100644
--- a/src/plugins/viewIcons.tsx
+++ b/src/plugins/viewIcons.tsx
@@ -24,7 +24,7 @@ import { find, findByPropsLazy } from "@webpack";
import { Menu } from "@webpack/common";
import type { Guild } from "discord-types/general";
-const ImageModal = LazyComponent(() => find(m => m.prototype?.render?.toString().includes("OPEN_ORIGINAL_IMAGE")));
+const ImageModal = LazyComponent(() => find(m => m.prototype?.render?.toString().includes("this.renderMobileCloseButton()")));
const MaskedLink = LazyComponent(() => find(m => m.type?.toString().includes("MASKED_LINK)")));
const GuildBannerStore = findByPropsLazy("getGuildBannerURL");