Skip to content

Commit

Permalink
fix(ios): fixed several ios code warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
IjzerenHein committed Jan 7, 2020
1 parent 6b7f07b commit 117abcd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ios/RNSharedElementTransition.m
Expand Up @@ -592,7 +592,7 @@ - (void) reactSetFrame:(CGRect)frame
//NSLog(@"reactSetFrame: %@", NSStringFromCGRect(frame));
_reactFrameSet = YES;
dispatch_async(dispatch_get_main_queue(), ^{
for (RNSharedElementTransitionItem* item in _items) {
for (RNSharedElementTransitionItem* item in self->_items) {
if (item.needsLayout) {
item.needsLayout = NO;
[item.node requestStyle:self];
Expand All @@ -602,7 +602,7 @@ - (void) reactSetFrame:(CGRect)frame
[item.node requestContent:self];
}
}
_initialLayoutPassCompleted = YES;
self->_initialLayoutPassCompleted = YES;
[self updateStyle];
[self updateNodeVisibility];
});
Expand Down

0 comments on commit 117abcd

Please sign in to comment.