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

View file

@ -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) => <Modals.ModalRoot {...props} />;