mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Delete unused RCT_ENABLE_LOADING_FROM_PACKAGER (#43677)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/43677 Remove `RCT_ENABLE_LOADING_FROM_PACKAGER` from `RCTDefines`, as it is not referenced anywhere and does nothing. Changelog: [Internal] Reviewed By: hoxyq, realsoelynn Differential Revision: D55421282 fbshipit-source-id: ae29a8a421a6cc23d863b489eae2175392f684cd
This commit is contained in:
committed by
Facebook GitHub Bot
parent
fa4bfde630
commit
8769378e0d
@@ -91,15 +91,6 @@
|
||||
#define RCT_DEV_MENU RCT_DEV
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Controls for the core packgaer loading functionality
|
||||
* By default, this inherits from RCT_DEV_MENU but it also gives the capability to
|
||||
* enable the packager functionality without the rest of the dev tools from RCT_DEV_MENU
|
||||
*/
|
||||
#ifndef RCT_ENABLE_LOADING_FROM_PACKAGER
|
||||
#define RCT_ENABLE_LOADING_FROM_PACKAGER RCT_DEV_MENU
|
||||
#endif
|
||||
|
||||
#ifndef RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION
|
||||
#if RCT_DEV && (__has_include("RCTPackagerConnection.h") || __has_include(<React/RCTPackagerConnection.h>))
|
||||
#define RCT_DEV_SETTINGS_ENABLE_PACKAGER_CONNECTION 1
|
||||
|
||||
Reference in New Issue
Block a user