File tree Expand file tree Collapse file tree 9 files changed +60
-0
lines changed Expand file tree Collapse file tree 9 files changed +60
-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 @@ -53,6 +53,13 @@ @implementation RNSScreenView {
53
53
}
54
54
55
55
#ifdef RCT_NEW_ARCH_ENABLED
56
+
57
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
58
+ + (void )load
59
+ {
60
+ [super load ];
61
+ }
62
+
56
63
- (instancetype )initWithFrame : (CGRect)frame
57
64
{
58
65
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 @@ -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]) {
Original file line number Diff line number Diff line change @@ -37,6 +37,13 @@ - (instancetype)initWithBridge:(RCTBridge *)bridge
37
37
}
38
38
39
39
#ifdef RCT_NEW_ARCH_ENABLED
40
+
41
+ // Needed because of this: https://github.com/facebook/react-native/pull/37274
42
+ + (void )load
43
+ {
44
+ [super load ];
45
+ }
46
+
40
47
- (instancetype )init
41
48
{
42
49
if (self = [super init ]) {
You can’t perform that action at this time.
0 commit comments