Skip to content

Commit

Permalink
iOS:fix coordinator cannot change view layout
Browse files Browse the repository at this point in the history
  • Loading branch information
penfeizhou committed Apr 10, 2020
1 parent f8a5e29 commit 34bb6cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doric-iOS/Pod/Classes/Plugin/DoricCoordinatorPlugin.m
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
#import "DoricSuperNode.h"
#import "DoricScrollableProtocol.h"
#import "DoricUtil.h"
#import "DoricRootNode.h"

@implementation DoricCoordinatorPlugin

Expand Down Expand Up @@ -110,6 +111,7 @@ - (void)setValue:(DoricViewNode *)viewNode isNavBar:(BOOL)isNavBar name:(NSStrin
[self.doricContext.navBar doric_navBar_setBackgroundColor:DoricColor(value)];
} else {
[viewNode blend:@{name: value}];
[self.doricContext.rootNode requestLayout];
}
}

Expand Down

0 comments on commit 34bb6cc

Please sign in to comment.