mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-02-13 09:20:15 +08:00
Remove Hot Loading option from Dev Menu
Reviewed By: jingc Differential Revision: D2810788 fb-gh-sync-id: cda3b802ee2b744b76253ec48bbd0c6e45c36d9f
This commit is contained in:
committed by
facebook-github-bot-9
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
|
||||
|
||||
Reference in New Issue
Block a user