Skip to content

Commit

Permalink
update to use cached RCTExportedDimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
rdonnelly committed Sep 29, 2018
1 parent 0c93de2 commit 5cb6b07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion React/Modules/RCTDeviceInfo.m
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 5cb6b07

Please sign in to comment.