fix publish error
This commit is contained in:
parent
88f9b5f1b8
commit
e520865a15
@ -20,9 +20,9 @@
|
||||
// Created by pengfei.zhou on 2019/7/29.
|
||||
//
|
||||
|
||||
#import <Doric/Doric.h>
|
||||
#import "DoricModalPlugin.h"
|
||||
#import "DoricUtil.h"
|
||||
#import "DoricExtensions.h"
|
||||
|
||||
@implementation DoricModalPlugin
|
||||
|
||||
|
@ -19,7 +19,6 @@
|
||||
|
||||
#import "DoricLayouts.h"
|
||||
#import <objc/runtime.h>
|
||||
#import <Doric/DoricLayouts.h>
|
||||
#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)];
|
||||
|
Reference in New Issue
Block a user