Do not guard initializeFlipper for bridgeless for RN Tester

Summary:
We don't need this if-than-else because the initializeFlipper already checks if we're on bridgeless or not

Changelog:
[Internal] [Changed] - Do not guard initializeFlipper for bridgeless for RN Tester

Reviewed By: NickGerleman

Differential Revision: D49881903

fbshipit-source-id: e6bfc941b43382580bd418a5f27ad9426d300c69
This commit is contained in:
Nicola Corti 2023-10-04 14:24:17 -07:00 коммит произвёл Facebook GitHub Bot
Родитель 2000acc6c6
Коммит b93bd79779
1 изменённых файлов: 1 добавлений и 5 удалений

Просмотреть файл

@ -124,11 +124,7 @@ class RNTesterApplication : Application(), ReactApplication {
if (BuildConfig.IS_NEW_ARCHITECTURE_ENABLED) {
load()
}
if (ReactFeatureFlags.enableBridgelessArchitecture) {
// TODO: initialize Flipper for Bridgeless
} else {
initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
initializeFlipper(this, reactNativeHost.reactInstanceManager)
}
@UnstableReactNativeAPI