Skip to content

Commit

Permalink
Restore fix in RNViewShot.m
Browse files Browse the repository at this point in the history
  • Loading branch information
douglowder committed Oct 5, 2022
1 parent c55d612 commit 4fee1a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ios/Exponent/Versioned/Core/Api/ViewShot/RNViewShot.m
Expand Up @@ -80,7 +80,7 @@ - (dispatch_queue_t)methodQueue
reject(RCTErrorUnspecified, [NSString stringWithFormat:@"snapshotContentContainer can only be used on a RCTScrollView. instead got: %@", view], nil);
return;
}
RCTScrollView* rctScrollView = view;
RCTScrollView* rctScrollView = (RCTScrollView *)view;
scrollView = rctScrollView.scrollView;
rendered = scrollView;
}
Expand Down

0 comments on commit 4fee1a6

Please sign in to comment.