Skip to content

Commit 4b5f8fb

Browse files
committed
change message
1 parent 57004dd commit 4b5f8fb

File tree

1 file changed

+2
-2
lines changed
  • packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon

1 file changed

+2
-2
lines changed

packages/react-native/ReactCommon/react/runtime/platform/ios/ReactCommon/RCTInstance.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -535,8 +535,8 @@ - (void)_loadJSBundle:(NSURL *)sourceURL
535535
{
536536
id<RCTDevLoadingViewProtocol> loadingView =
537537
(id<RCTDevLoadingViewProtocol>)[_turboModuleManager moduleForName:"DevLoadingView"];
538-
// When the bundleFilePath is set in the RCTCustomBundleConfiguration it on purpose does not run the packager connection
539-
// so we don't show the message.
538+
// When the bundleFilePath is set in the RCTCustomBundleConfiguration the Metro connection
539+
// shouldn't be suggested/required.
540540
if (!_bridgeModuleDecorator.bundleManager.customBundleConfig.bundleFilePath) {
541541
[loadingView showWithURL:sourceURL];
542542
}

0 commit comments

Comments
 (0)