mirror of
https://github.com/status-im/react-native.git
synced 2025-01-27 01:40:08 +00:00
Remove iOS 7 version check in RCTJSCWrapperCreate
Reviewed By: michalgr Differential Revision: D3729175 fbshipit-source-id: 43ee2ba19b3d8fed20bd268d1e2d0fab83e2fe9f
This commit is contained in:
parent
fd34c6d567
commit
4ad01be3a0
@ -93,7 +93,7 @@ static void RCTSetUpCustomLibraryPointers(RCTJSCWrapper *wrapper)
|
||||
RCTJSCWrapper *RCTJSCWrapperCreate(BOOL useCustomJSC)
|
||||
{
|
||||
RCTJSCWrapper *wrapper = (RCTJSCWrapper *)malloc(sizeof(RCTJSCWrapper));
|
||||
if (useCustomJSC && [UIDevice currentDevice].systemVersion.floatValue >= 8) {
|
||||
if (useCustomJSC) {
|
||||
RCTSetUpCustomLibraryPointers(wrapper);
|
||||
} else {
|
||||
RCTSetUpSystemLibraryPointers(wrapper);
|
||||
|
Loading…
x
Reference in New Issue
Block a user