mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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:
1 parent
963f7a5c24
commit
5ec5cc3a34
1 file changed
+7
-7
+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
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user