File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -250,7 +250,7 @@ - (void)setNewProps:(NSMutableDictionary *)newProps
250250 if (needsViewPositionUpdate) {
251251 CGPoint newCenter = CGPointMake (centerX, centerY);
252252 if (convertFromAbsolute) {
253- REAUIView *window = RCTKeyWindow ();
253+ REAUIView *window = (REAUIView* ) RCTKeyWindow ();
254254 CGPoint convertedCenter = [window convertPoint: newCenter toView: view.superview];
255255 view.center = convertedCenter;
256256 } else {
Original file line number Diff line number Diff line change @@ -529,7 +529,7 @@ - (void)configureTransitionContainer
529529{
530530 if (!_isSharedTransitionActive) {
531531 _isSharedTransitionActive = YES ;
532- REAUIView *mainWindow = RCTKeyWindow ();
532+ REAUIView *mainWindow = (REAUIView* ) RCTKeyWindow ();
533533 if (_transitionContainer == nil ) {
534534 _transitionContainer = [REAUIView new ];
535535 }
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ - (instancetype)initWithAbsolutePosition:(REAUIView *)view
2828
2929- (void )makeSnapshotForView : (REAUIView *)view useAbsolutePositionOnly : (BOOL )useAbsolutePositionOnly
3030{
31- REAUIView *mainWindow = RCTKeyWindow ();
31+ REAUIView *mainWindow = (REAUIView* ) RCTKeyWindow ();
3232 CGPoint absolutePosition = [[view superview ] convertPoint: view.center toView: nil ];
3333 _values = [NSMutableDictionary new ];
3434#if TARGET_OS_OSX
You can’t perform that action at this time.
0 commit comments