File tree Expand file tree Collapse file tree 11 files changed +72
-0
lines changed Expand file tree Collapse file tree 11 files changed +72
-0
lines changed Original file line number Diff line number Diff line change 15
15
16
16
@implementation RNSFullWindowOverlayContainer
17
17
18
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
19
+ + (void )load
20
+ {
21
+ [super load ];
22
+ }
23
+
18
24
- (instancetype )initWithFrame : (CGRect)frame
19
25
{
20
26
if (self = [super initWithFrame: frame]) {
Original file line number Diff line number Diff line change @@ -30,6 +30,13 @@ - (void)traitCollectionDidChange:(UITraitCollection *)previousTraitCollection
30
30
}
31
31
32
32
#ifdef RCT_NEW_ARCH_ENABLED
33
+
34
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
35
+ + (void )load
36
+ {
37
+ [super load ];
38
+ }
39
+
33
40
+ (react::ComponentDescriptorProvider)componentDescriptorProvider
34
41
{
35
42
return react::concreteComponentDescriptorProvider<react::RNSModalScreenComponentDescriptor>();
Original file line number Diff line number Diff line change @@ -75,6 +75,13 @@ @implementation RNSScreenView {
75
75
}
76
76
77
77
#ifdef RCT_NEW_ARCH_ENABLED
78
+
79
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
80
+ + (void )load
81
+ {
82
+ [super load ];
83
+ }
84
+
78
85
- (instancetype )initWithFrame : (CGRect)frame
79
86
{
80
87
if (self = [super initWithFrame: frame]) {
Original file line number Diff line number Diff line change @@ -251,6 +251,12 @@ - (void)layoutSubviews
251
251
#pragma mark-- Fabric specific
252
252
#ifdef RCT_NEW_ARCH_ENABLED
253
253
254
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
255
+ + (void )load
256
+ {
257
+ [super load ];
258
+ }
259
+
254
260
- (void )mountChildComponentView : (UIView<RCTComponentViewProtocol> *)childComponentView index : (NSInteger )index
255
261
{
256
262
if (![childComponentView isKindOfClass: [RNSScreenView class ]]) {
Original file line number Diff line number Diff line change @@ -36,6 +36,12 @@ - (void)updateLayoutMetrics:(const facebook::react::LayoutMetrics &)layoutMetric
36
36
}
37
37
}
38
38
39
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
40
+ + (void )load
41
+ {
42
+ [super load ];
43
+ }
44
+
39
45
+ (react::ComponentDescriptorProvider)componentDescriptorProvider
40
46
{
41
47
return react::concreteComponentDescriptorProvider<react::RNSScreenContentWrapperComponentDescriptor>();
Original file line number Diff line number Diff line change @@ -100,6 +100,12 @@ - (void)layoutSubviews
100
100
101
101
#pragma Fabric specific
102
102
103
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
104
+ + (void )load
105
+ {
106
+ [super load ];
107
+ }
108
+
103
109
+ (react::ComponentDescriptorProvider)componentDescriptorProvider
104
110
{
105
111
return react::concreteComponentDescriptorProvider<react::RNSScreenFooterComponentDescriptor>();
Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ - (void)updateContainer
43
43
{
44
44
return react::concreteComponentDescriptorProvider<react::RNSScreenNavigationContainerComponentDescriptor>();
45
45
}
46
+
47
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
48
+ + (void )load
49
+ {
50
+ [super load ];
51
+ }
52
+
46
53
#endif
47
54
48
55
@end
Original file line number Diff line number Diff line change @@ -123,6 +123,13 @@ @implementation RNSScreenStackView {
123
123
}
124
124
125
125
#ifdef RCT_NEW_ARCH_ENABLED
126
+
127
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
128
+ + (void )load
129
+ {
130
+ [super load ];
131
+ }
132
+
126
133
- (instancetype )initWithFrame : (CGRect)frame
127
134
{
128
135
if (self = [super initWithFrame: frame]) {
Original file line number Diff line number Diff line change @@ -62,6 +62,13 @@ @implementation RNSScreenStackHeaderConfig {
62
62
}
63
63
64
64
#ifdef RCT_NEW_ARCH_ENABLED
65
+
66
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
67
+ + (void )load
68
+ {
69
+ [super load ];
70
+ }
71
+
65
72
- (instancetype )initWithFrame : (CGRect)frame
66
73
{
67
74
if (self = [super initWithFrame: frame]) {
Original file line number Diff line number Diff line change @@ -26,6 +26,12 @@ @implementation RNSScreenStackHeaderSubview
26
26
27
27
#pragma mark - Fabric specific
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
- (instancetype )initWithFrame : (CGRect)frame
30
36
{
31
37
if (self = [super initWithFrame: frame]) {
You can’t perform that action at this time.
0 commit comments