diff --git a/src/equicordplugins/channelTabs/index.tsx b/src/equicordplugins/channelTabs/index.tsx index 2cf73c8ac..7bcc9e911 100644 --- a/src/equicordplugins/channelTabs/index.tsx +++ b/src/equicordplugins/channelTabs/index.tsx @@ -45,7 +45,7 @@ export default definePlugin({ patches: [ // add the channel tab container at the top { - find: ".COLLECTIBLES_SHOP_FULLSCREEN))", + find: '"AppView"', replacement: { match: /(\?void 0:(\i)\.channelId.{0,300})"div",{/, replace: "$1$self.render,{currentChannel:$2," diff --git a/src/plugins/decor/ui/index.ts b/src/plugins/decor/ui/index.ts index f8ac37468..c614388da 100644 --- a/src/plugins/decor/ui/index.ts +++ b/src/plugins/decor/ui/index.ts @@ -10,5 +10,5 @@ import { extractAndLoadChunksLazy, findByPropsLazy } from "@webpack"; export const cl = classNameFactory("vc-decor-"); export const DecorationModalStyles = findByPropsLazy("modalPreview", "modalCloseButton", "spinner", "modal"); -export const requireAvatarDecorationModal = extractAndLoadChunksLazy([".COLLECTIBLES_SHOP_FULLSCREEN&&"]); +export const requireAvatarDecorationModal = extractAndLoadChunksLazy([",initialSelectedDecoration:"]); export const requireCreateStickerModal = extractAndLoadChunksLazy(["stickerInspected]:"]);