mirror of
				https://github.com/tooot-app/app
				synced 2025-06-05 22:19:13 +02:00 
			
		
		
		
	Try to fix iOS launch crash
This commit is contained in:
		| @@ -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"]; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user