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: https://github.com/facebook/react-native/pull/36283

Test Plan:
Tested manually on RNTester
CircleCI is green

Reviewed By: sammy-SC

Differential Revision: D43568205

Pulled By: cipolleschi

fbshipit-source-id: cddba97629b542a044191da14221f3300a9d879f
This commit is contained in:
Riccardo Cipolleschi
2023-02-24 05:21:11 -08:00
committed by Facebook GitHub Bot
parent e79500e6a7
commit bf03e86bc7
+1 -1
View File
@@ -88,7 +88,7 @@ static NSString *const kRNConcurrentRoot = @"concurrentRoot";
@implementation AppDelegate
#if RCT_NEW_ARCH_ENABLED
#ifdef RN_FABRIC_ENABLED
- (instancetype)init
{
if (self = [super init]) {