Skip to content

Commit 5fd209f

Browse files
authored
fix: use lazy rootViewFactory property in view method (#139)
1 parent de3e62f commit 5fd209f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/ReactNativeBrownfield.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ class ReactNativeBrownfieldDelegate: RCTDefaultReactNativeFactoryDelegate {
8888
initialProps: [AnyHashable: Any]?,
8989
launchOptions: [AnyHashable: Any]? = nil
9090
) -> UIView? {
91-
reactNativeFactory?.rootViewFactory.view(
91+
rootViewFactory?.view(
9292
withModuleName: moduleName,
9393
initialProperties: initialProps,
9494
launchOptions: launchOptions

0 commit comments

Comments
 (0)