mirror of https://github.com/tooot-app/app
Fix dark mode flashing
This commit is contained in:
parent
a0dcbd050f
commit
22af0bf828
|
@ -53,7 +53,7 @@ static void InitializeFlipper(UIApplication *application) {
|
|||
|
||||
RCTBridge *bridge = [self.reactDelegate createBridgeWithDelegate:self launchOptions:launchOptions];
|
||||
RCTRootView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
||||
rootView.backgroundColor = [UIColor whiteColor];
|
||||
rootView.backgroundColor = [UIColor colorNamed:@"SplashScreenBackgroundColor"];
|
||||
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
||||
UIViewController *rootViewController = [self.reactDelegate createRootViewController];
|
||||
rootViewController.view = rootView;
|
||||
|
|
Loading…
Reference in New Issue