From 20669bab958e963392d07482d0977a5ff9b6d950 Mon Sep 17 00:00:00 2001 From: Ryan Donnelly Date: Mon, 2 Jul 2018 15:16:37 -0400 Subject: [PATCH] update to use cached RCTExportedDimensions --- React/Modules/RCTDeviceInfo.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/React/Modules/RCTDeviceInfo.m b/React/Modules/RCTDeviceInfo.m index f607508156d592..e619fe020518e3 100644 --- a/React/Modules/RCTDeviceInfo.m +++ b/React/Modules/RCTDeviceInfo.m @@ -191,7 +191,7 @@ - (void)_interfaceFrameDidChange #pragma clang diagnostic push #pragma clang diagnostic ignored "-Wdeprecated-declarations" [_bridge.eventDispatcher sendDeviceEventWithName:@"didUpdateDimensions" - body:RCTExportedDimensions(_bridge)]; + body:nextInterfaceDimensions]; #pragma clang diagnostic pop }