Skip to content

Commit 20669ba

Browse files
committed
update to use cached RCTExportedDimensions
1 parent 28cf6f3 commit 20669ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

React/Modules/RCTDeviceInfo.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ - (void)_interfaceFrameDidChange
191191
#pragma clang diagnostic push
192192
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
193193
[_bridge.eventDispatcher sendDeviceEventWithName:@"didUpdateDimensions"
194-
body:RCTExportedDimensions(_bridge)];
194+
body:nextInterfaceDimensions];
195195
#pragma clang diagnostic pop
196196
}
197197

0 commit comments

Comments
 (0)