TM: Updates RNTester for TurboModule (#24827)

Summary:
We changed TM Manager API https://github.com/facebook/react-native/commit/0436f81595a932e469adcf029e07d787febe12a3, synced to update RNTester.

cc. fkgozali

[iOS] [Fixed] - Updates RNTester for TurboModule
Pull Request resolved: https://github.com/facebook/react-native/pull/24827

Differential Revision: D15318135

Pulled By: cpojer

fbshipit-source-id: a5d8462e7065b5b16f777378a4cd7059765626e2
This commit is contained in:
zhongwuzw
2019-05-13 08:05:43 -07:00
committed by Facebook Github Bot
parent a2a03bc68b
commit 2cd6c0c82e
+2 -2
View File
@@ -143,8 +143,8 @@
__typeof(self) strongSelf = weakSelf;
if (strongSelf) {
#ifdef RN_TURBO_MODULE_ENABLED
strongSelf->_turboModuleManager = [[RCTTurboModuleManager alloc] initWithRuntime:&runtime bridge:bridge delegate:strongSelf];
[strongSelf->_turboModuleManager installJSBinding];
strongSelf->_turboModuleManager = [[RCTTurboModuleManager alloc] initWithBridge:bridge delegate:strongSelf];
[strongSelf->_turboModuleManager installJSBindingWithRuntime:&runtime];
#endif
}
});