fix Decor stuff

This commit is contained in:
Vendicated 2026-01-23 21:50:25 +01:00
parent 1dcf7db52a
commit 26b1fb5157
No known key found for this signature in database
GPG key ID: D66986BAF75ECF18
2 changed files with 2 additions and 2 deletions

View file

@ -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;

View file

@ -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"]);