Unexplode Modals on canary

This commit is contained in:
Vendicated 2022-11-16 14:52:05 +01:00
parent ae86848cf6
commit e1de6f88fe
No known key found for this signature in database
GPG Key ID: EC781ADFB93EFFA3

@ -56,12 +56,12 @@ interface ModalRootProps {
type RenderFunction = (props: ModalProps) => React.ReactNode; type RenderFunction = (props: ModalProps) => React.ReactNode;
export const Modals = mapMangledModuleLazy(".onAnimationEnd,", { export const Modals = mapMangledModuleLazy("().closeWithCircleBackground", {
ModalRoot: filters.byCode("headerIdIsManaged:"), ModalRoot: filters.byCode("().root"),
ModalHeader: filters.byCode("children", "separator", "wrap", "NO_WRAP", "grow", "shrink", "id", "header"), ModalHeader: filters.byCode("().header"),
ModalContent: filters.byCode("scrollerRef", "content", "className", "children"), ModalContent: filters.byCode("().content"),
ModalFooter: filters.byCode("HORIZONTAL_REVERSE", "START", "STRETCH", "NO_WRAP", "footerSeparator"), ModalFooter: filters.byCode("().footerSeparator"),
ModalCloseButton: filters.byCode("closeWithCircleBackground", "hideOnFullscreen"), ModalCloseButton: filters.byCode("().closeWithCircleBackground"),
}); });
export const ModalRoot = (props: ModalRootProps) => <Modals.ModalRoot {...props} />; export const ModalRoot = (props: ModalRootProps) => <Modals.ModalRoot {...props} />;