diff --git a/Pod/Classes/Plugin/DoricModalPlugin.m b/Pod/Classes/Plugin/DoricModalPlugin.m index 77944f23..e9596994 100644 --- a/Pod/Classes/Plugin/DoricModalPlugin.m +++ b/Pod/Classes/Plugin/DoricModalPlugin.m @@ -20,9 +20,9 @@ // Created by pengfei.zhou on 2019/7/29. // -#import #import "DoricModalPlugin.h" #import "DoricUtil.h" +#import "DoricExtensions.h" @implementation DoricModalPlugin diff --git a/Pod/Classes/Shader/DoricLayouts.m b/Pod/Classes/Shader/DoricLayouts.m index 57e2043b..c2e6a1ae 100644 --- a/Pod/Classes/Shader/DoricLayouts.m +++ b/Pod/Classes/Shader/DoricLayouts.m @@ -19,7 +19,6 @@ #import "DoricLayouts.h" #import -#import #import "UIView+Doric.h" static const void *kLayoutConfig = &kLayoutConfig; @@ -428,7 +427,7 @@ - (void)layoutSelf:(CGSize)targetSize { if (!childConfig) { childConfig = [DoricLayoutConfig new]; } - + CGSize size = [child measureSize:CGSizeMake( targetSize.width - xStart - padding.right, targetSize.height - padding.top - padding.bottom)];