diff --git a/src/plugins/decor/ui/components/DecorSection.tsx b/src/plugins/decor/ui/components/DecorSection.tsx index 3209b4356..e25c816cb 100644 --- a/src/plugins/decor/ui/components/DecorSection.tsx +++ b/src/plugins/decor/ui/components/DecorSection.tsx @@ -13,7 +13,7 @@ import { openChangeDecorationModal } from "@plugins/decor/ui/modals/ChangeDecora import { findComponentByCodeLazy } from "@webpack"; import { useEffect } from "@webpack/common"; -const CustomizationSection = findComponentByCodeLazy(".customizationSectionBackground"); +const CustomizationSection = findComponentByCodeLazy(".DESCRIPTION", "hasBackground:"); export interface DecorSectionProps { hideTitle?: boolean; diff --git a/src/plugins/decor/ui/index.ts b/src/plugins/decor/ui/index.ts index eeb644b24..a10824c51 100644 --- a/src/plugins/decor/ui/index.ts +++ b/src/plugins/decor/ui/index.ts @@ -11,4 +11,4 @@ export const cl = classNameFactory("vc-decor-"); export const DecorationModalClasses = findCssClassesLazy("modalPreview", "modalCloseButton", "spinner", "modal"); export const requireAvatarDecorationModal = extractAndLoadChunksLazy(["initialSelectedDecoration:", /initialSelectedDecoration:\i,.{0,300}\i\.e\(/]); -export const requireCreateStickerModal = extractAndLoadChunksLazy(["stickerInspected]:"]); +export const requireCreateStickerModal = extractAndLoadChunksLazy([".CREATE_STICKER_MODAL,", "isDisplayingIndividualStickers"]);