fix header problem

This commit is contained in:
pengfei.zhou 2020-04-11 13:14:34 +08:00 committed by osborn
parent 6cd80f3f0d
commit 4f2802a55c
2 changed files with 3 additions and 4 deletions

View File

@ -23,7 +23,7 @@
#import "DoricContextHolder.h"
#import "DoricLayouts.h"
#import "UIView+Doric.h"
#import "UIView+Yoga.h"
#import <YogaKit/UIView+Yoga.h>
@class DoricSuperNode;

View File

@ -20,7 +20,6 @@
// Created by pengfei.zhou on 2019/7/30.
//
#import <DoricCore/DoricExtensions.h>
#import "DoricViewNode.h"
#import "DoricUtil.h"
#import "DoricGroupNode.h"
@ -434,10 +433,10 @@ - (void)blendLayoutConfig:(NSDictionary *)params {
self.view.doricLayout.maxHeight = (DoricGravity) [it integerValue];
}];
[params[@"minWidth"] also:^(NSNumber *it) {
self.view.doricLayout.minWidth = (DoricGravity) [it integerValue];
self.view.doricLayout.minWidth = (DoricGravity) [it integerValue];
}];
[params[@"minHeight"] also:^(NSNumber *it) {
self.view.doricLayout.minHeight = (DoricGravity) [it integerValue];
self.view.doricLayout.minHeight = (DoricGravity) [it integerValue];
}];
}