Remove Hot Loading option from Dev Menu

Reviewed By: jingc

Differential Revision: D2810788

fb-gh-sync-id: cda3b802ee2b744b76253ec48bbd0c6e45c36d9f
This commit is contained in:
Martín Bigio 2016-01-06 22:37:08 -08:00 committed by facebook-github-bot-9
parent 7bb60449bd
commit 9037d374e1

View File

@ -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