From e1de6f88fe1db5276cee3df2ef4feeca7fcab850 Mon Sep 17 00:00:00 2001 From: Vendicated Date: Wed, 16 Nov 2022 14:52:05 +0100 Subject: [PATCH] Unexplode Modals on canary --- src/utils/modal.tsx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/utils/modal.tsx b/src/utils/modal.tsx index 3a22bbe4..2affbd7d 100644 --- a/src/utils/modal.tsx +++ b/src/utils/modal.tsx @@ -56,12 +56,12 @@ interface ModalRootProps { type RenderFunction = (props: ModalProps) => React.ReactNode; -export const Modals = mapMangledModuleLazy(".onAnimationEnd,", { - ModalRoot: filters.byCode("headerIdIsManaged:"), - ModalHeader: filters.byCode("children", "separator", "wrap", "NO_WRAP", "grow", "shrink", "id", "header"), - ModalContent: filters.byCode("scrollerRef", "content", "className", "children"), - ModalFooter: filters.byCode("HORIZONTAL_REVERSE", "START", "STRETCH", "NO_WRAP", "footerSeparator"), - ModalCloseButton: filters.byCode("closeWithCircleBackground", "hideOnFullscreen"), +export const Modals = mapMangledModuleLazy("().closeWithCircleBackground", { + ModalRoot: filters.byCode("().root"), + ModalHeader: filters.byCode("().header"), + ModalContent: filters.byCode("().content"), + ModalFooter: filters.byCode("().footerSeparator"), + ModalCloseButton: filters.byCode("().closeWithCircleBackground"), }); export const ModalRoot = (props: ModalRootProps) => ;