Refactor on ReactDelegate (#54415)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/54415

This is a small refactor of ReactDelegate

changelog: [internal] internal

Reviewed By: alanleedev

Differential Revision: D86218278

fbshipit-source-id: 13886e6c6b8d4759e7387927fd38f51f158dcf40
This commit is contained in:
David Vacca authored and meta-codesync[bot] committed 2025-11-04 18:25:02 -08:00
1 parent 963f7a5c24
commit 5ec5cc3a34
1 file changed
+7 -7
@@ -68,9 +68,9 @@ public open class ReactDelegate {
launchOptions: Bundle?,
) {
this.activity = activity
mainComponentName = appKey
this.mainComponentName = appKey
this.launchOptions = launchOptions
doubleTapReloadRecognizer = DoubleTapReloadRecognizer()
this.doubleTapReloadRecognizer = DoubleTapReloadRecognizer()
this.reactNativeHost = reactNativeHost
}
@@ -81,9 +81,9 @@ public open class ReactDelegate {
launchOptions: Bundle?,
) {
this.activity = activity
mainComponentName = appKey
this.mainComponentName = appKey
this.launchOptions = launchOptions
doubleTapReloadRecognizer = DoubleTapReloadRecognizer()
this.doubleTapReloadRecognizer = DoubleTapReloadRecognizer()
this.reactHost = reactHost
}
@@ -95,11 +95,11 @@ public open class ReactDelegate {
launchOptions: Bundle?,
fabricEnabled: Boolean,
) {
isFabricEnabled = fabricEnabled
this.isFabricEnabled = fabricEnabled
this.activity = activity
mainComponentName = appKey
this.mainComponentName = appKey
this.launchOptions = launchOptions
doubleTapReloadRecognizer = DoubleTapReloadRecognizer()
this.doubleTapReloadRecognizer = DoubleTapReloadRecognizer()
this.reactNativeHost = reactNativeHost
}