From e520865a156cca7eb69e9a73a541c1ad462bf11b Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Sat, 14 Dec 2019 15:04:34 +0800 Subject: [PATCH] fix publish error --- Pod/Classes/Plugin/DoricModalPlugin.m | 2 +- Pod/Classes/Shader/DoricLayouts.m | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) 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)];