iOS:fix coordinator cannot change view layout
This commit is contained in:
parent
f8a5e29c83
commit
34bb6cc391
@ -21,6 +21,7 @@
|
|||||||
#import "DoricSuperNode.h"
|
#import "DoricSuperNode.h"
|
||||||
#import "DoricScrollableProtocol.h"
|
#import "DoricScrollableProtocol.h"
|
||||||
#import "DoricUtil.h"
|
#import "DoricUtil.h"
|
||||||
|
#import "DoricRootNode.h"
|
||||||
|
|
||||||
@implementation DoricCoordinatorPlugin
|
@implementation DoricCoordinatorPlugin
|
||||||
|
|
||||||
@ -110,6 +111,7 @@ - (void)setValue:(DoricViewNode *)viewNode isNavBar:(BOOL)isNavBar name:(NSStrin
|
|||||||
[self.doricContext.navBar doric_navBar_setBackgroundColor:DoricColor(value)];
|
[self.doricContext.navBar doric_navBar_setBackgroundColor:DoricColor(value)];
|
||||||
} else {
|
} else {
|
||||||
[viewNode blend:@{name: value}];
|
[viewNode blend:@{name: value}];
|
||||||
|
[self.doricContext.rootNode requestLayout];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user