diff --git a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt index 0a560c23213cfb..a73565f35a977f 100644 --- a/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt +++ b/packages/react-native/ReactAndroid/src/main/java/com/facebook/react/defaults/DefaultReactActivityDelegate.kt @@ -45,6 +45,6 @@ open class DefaultReactActivityDelegate( override fun createRootView(): ReactRootView = ReactRootView(context).apply { setIsFabric(fabricEnabled) } - override fun createRootView(bundle: Bundle): ReactRootView = + override fun createRootView(bundle: Bundle?): ReactRootView = ReactRootView(context).apply { setIsFabric(fabricEnabled) } }