Skip to content

Commit 26aa4b4

Browse files
committed
update to use cached RCTExportedDimensions
1 parent c2dd78d commit 26aa4b4

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
@@ -186,7 +186,7 @@ - (void)_interfaceFrameDidChange
186186
#pragma clang diagnostic push
187187
#pragma clang diagnostic ignored "-Wdeprecated-declarations"
188188
[_bridge.eventDispatcher sendDeviceEventWithName:@"didUpdateDimensions"
189-
body:RCTExportedDimensions(_bridge)];
189+
body:nextInterfaceDimensions];
190190
#pragma clang diagnostic pop
191191
}
192192

0 commit comments

Comments
 (0)