File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -27,6 +27,12 @@ @implementation RNCPagerViewComponentView {
27
27
NSInteger _initialPage;
28
28
}
29
29
30
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
31
+ + (void )load
32
+ {
33
+ [super load ];
34
+ }
35
+
30
36
- (instancetype )initWithFrame : (CGRect)frame
31
37
{
32
38
if (self = [super initWithFrame: frame]) {
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ @implementation LEGACY_RNCPagerViewComponentView {
26
26
UIScrollView *scrollView;
27
27
}
28
28
29
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
30
+ + (void )load
31
+ {
32
+ [super load ];
33
+ }
34
+
29
35
- (void )initializeNativePageViewController {
30
36
const auto &viewProps = *std::static_pointer_cast<const LEGACY_RNCViewPagerProps>(_props);
31
37
NSDictionary *options = @{ UIPageViewControllerOptionInterPageSpacingKey: @(viewProps.pageMargin ) };
You can’t perform that action at this time.
0 commit comments