mirror of
https://github.com/tooot-app/app
synced 2025-01-13 18:07:48 +01:00
Try to fix iOS launch crash
This commit is contained in:
parent
56887fec85
commit
67f1513829
@ -44,7 +44,7 @@
|
||||
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
|
||||
#endif
|
||||
|
||||
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"main", nil);
|
||||
UIView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
||||
|
||||
if (@available(iOS 13.0, *)) {
|
||||
rootView.backgroundColor = [UIColor colorNamed:@"SplashScreenBackgroundColor"];
|
||||
|
Loading…
Reference in New Issue
Block a user