fix publish error

This commit is contained in:
pengfei.zhou 2019-12-14 15:04:34 +08:00
parent 88f9b5f1b8
commit e520865a15
2 changed files with 2 additions and 3 deletions

View File

@ -20,9 +20,9 @@
// Created by pengfei.zhou on 2019/7/29. // Created by pengfei.zhou on 2019/7/29.
// //
#import <Doric/Doric.h>
#import "DoricModalPlugin.h" #import "DoricModalPlugin.h"
#import "DoricUtil.h" #import "DoricUtil.h"
#import "DoricExtensions.h"
@implementation DoricModalPlugin @implementation DoricModalPlugin

View File

@ -19,7 +19,6 @@
#import "DoricLayouts.h" #import "DoricLayouts.h"
#import <objc/runtime.h> #import <objc/runtime.h>
#import <Doric/DoricLayouts.h>
#import "UIView+Doric.h" #import "UIView+Doric.h"
static const void *kLayoutConfig = &kLayoutConfig; static const void *kLayoutConfig = &kLayoutConfig;
@ -428,7 +427,7 @@ - (void)layoutSelf:(CGSize)targetSize {
if (!childConfig) { if (!childConfig) {
childConfig = [DoricLayoutConfig new]; childConfig = [DoricLayoutConfig new];
} }
CGSize size = [child measureSize:CGSizeMake( CGSize size = [child measureSize:CGSizeMake(
targetSize.width - xStart - padding.right, targetSize.width - xStart - padding.right,
targetSize.height - padding.top - padding.bottom)]; targetSize.height - padding.top - padding.bottom)];