File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Expand file tree Collapse file tree 4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -192,7 +192,7 @@ - (void)windowScene:(UIWindowScene *)windowScene
192
192
interfaceOrientation : (UIInterfaceOrientation)previousInterfaceOrientation
193
193
traitCollection : (UITraitCollection *)previousTraitCollection API_AVAILABLE(ios(13.0 ))
194
194
{
195
- [[NSNotificationCenter defaultCenter ] postNotificationName: RCTRootViewFrameDidChangeNotification object: self ];
195
+ [[NSNotificationCenter defaultCenter ] postNotificationName: RCTWindowFrameDidChangeNotification object: self ];
196
196
}
197
197
198
198
#pragma mark - RCTCxxBridgeDelegate
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ RCT_EXTERN NSString *const RCTPlatformName;
12
12
RCT_EXTERN NSString *const RCTUserInterfaceStyleDidChangeNotification;
13
13
RCT_EXTERN NSString *const RCTUserInterfaceStyleDidChangeNotificationTraitCollectionKey;
14
14
15
- RCT_EXTERN NSString *const RCTRootViewFrameDidChangeNotification ;
15
+ RCT_EXTERN NSString *const RCTWindowFrameDidChangeNotification ;
16
16
17
17
/* *
18
18
* This notification fires when the bridge initializes.
Original file line number Diff line number Diff line change 12
12
NSString *const RCTUserInterfaceStyleDidChangeNotification = @" RCTUserInterfaceStyleDidChangeNotification" ;
13
13
NSString *const RCTUserInterfaceStyleDidChangeNotificationTraitCollectionKey = @" traitCollection" ;
14
14
15
- NSString *const RCTRootViewFrameDidChangeNotification = @" RCTRootViewFrameDidChangeNotification " ;
15
+ NSString *const RCTWindowFrameDidChangeNotification = @" RCTWindowFrameDidChangeNotification " ;
16
16
17
17
NSString *const RCTJavaScriptDidFailToLoadNotification = @" RCTJavaScriptDidFailToLoadNotification" ;
18
18
NSString *const RCTJavaScriptDidLoadNotification = @" RCTJavaScriptDidLoadNotification" ;
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ - (void)initialize
73
73
74
74
[[NSNotificationCenter defaultCenter ] addObserver: self
75
75
selector: @selector (interfaceFrameDidChange )
76
- name: RCTRootViewFrameDidChangeNotification
76
+ name: RCTWindowFrameDidChangeNotification
77
77
object: nil ];
78
78
}
79
79
You can’t perform that action at this time.
0 commit comments