Skip to content

Commit c26200f

Browse files
vadymv-mendixYogendraShelke
authored andcommitted
fix: correct rootViewFactory call in reactAppView method
1 parent 9918d3d commit c26200f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ios/Modules/Helper/ReactAppProvider.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ open class ReactAppProvider: RCTAppDelegate {
3131
}
3232

3333
public func reactAppView() -> UIView? {
34-
let view = rootViewFactory.view(withModuleName: reactRootViewName)
34+
let view = rootViewFactory().view(withModuleName: reactRootViewName)
3535
view.autoresizingMask = [.flexibleWidth, .flexibleHeight]
3636
view.frame = window.rootViewController?.view.frame ?? .zero
3737
return view

0 commit comments

Comments
 (0)