mirror of
https://github.com/status-im/react-native.git
synced 2025-02-04 13:44:04 +00:00
Remove Hot Loading option from Dev Menu
Reviewed By: jingc Differential Revision: D2810788 fb-gh-sync-id: cda3b802ee2b744b76253ec48bbd0c6e45c36d9f
This commit is contained in:
parent
7bb60449bd
commit
9037d374e1
@ -531,9 +531,7 @@ RCT_EXPORT_METHOD(reload)
|
||||
|
||||
- (BOOL)hotLoadingAvailable
|
||||
{
|
||||
return !_bridge.bundleURL.fileURL // Only works when running from server
|
||||
&& [_bridge.delegate respondsToSelector:@selector(bridgeSupportsHotLoading:)]
|
||||
&& [_bridge.delegate bridgeSupportsHotLoading:_bridge];
|
||||
return false;
|
||||
}
|
||||
|
||||
- (void)setHotLoadingEnabled:(BOOL)enabled
|
||||
|
Loading…
x
Reference in New Issue
Block a user