Skip to content

Commit bf03e86

Browse files
Riccardo Cipolleschifacebook-github-bot
authored andcommitted
Use RNTester init also in the old arch when Fabric is enabled (#36283)
Summary: This PR fixes the initialization path of RNTester when it is run with the Old Arch and Fabric enabled ## Changelog [iOS][Fixed] - Make sure to initialize the contextContainer in the Old Arch with Fabric enabled Pull Request resolved: #36283 Test Plan: Tested manually on RNTester CircleCI is green Reviewed By: sammy-SC Differential Revision: D43568205 Pulled By: cipolleschi fbshipit-source-id: cddba97629b542a044191da14221f3300a9d879f
1 parent e79500e commit bf03e86

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/rn-tester/RNTester/AppDelegate.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ @interface AppDelegate () <RCTCxxBridgeDelegate, RCTTurboModuleManagerDelegate>
8888

8989
@implementation AppDelegate
9090

91-
#if RCT_NEW_ARCH_ENABLED
91+
#ifdef RN_FABRIC_ENABLED
9292
- (instancetype)init
9393
{
9494
if (self = [super init]) {

0 commit comments

Comments
 (0)