mirror of
https://github.com/tooot-app/app
synced 2025-01-28 01:09:52 +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;
|
bridge.surfacePresenter = _bridgeAdapter.surfacePresenter;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
UIView *rootView = RCTAppSetupDefaultRootView(bridge, @"main", nil);
|
UIView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
||||||
|
|
||||||
if (@available(iOS 13.0, *)) {
|
if (@available(iOS 13.0, *)) {
|
||||||
rootView.backgroundColor = [UIColor colorNamed:@"SplashScreenBackgroundColor"];
|
rootView.backgroundColor = [UIColor colorNamed:@"SplashScreenBackgroundColor"];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user