mirror of
https://github.com/tooot-app/app
synced 2025-06-05 22:19:13 +02:00
Fix dark mode flashing
This commit is contained in:
@@ -53,7 +53,7 @@ static void InitializeFlipper(UIApplication *application) {
|
|||||||
|
|
||||||
RCTBridge *bridge = [self.reactDelegate createBridgeWithDelegate:self launchOptions:launchOptions];
|
RCTBridge *bridge = [self.reactDelegate createBridgeWithDelegate:self launchOptions:launchOptions];
|
||||||
RCTRootView *rootView = [self.reactDelegate createRootViewWithBridge:bridge moduleName:@"main" initialProperties:nil];
|
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];
|
self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];
|
||||||
UIViewController *rootViewController = [self.reactDelegate createRootViewController];
|
UIViewController *rootViewController = [self.reactDelegate createRootViewController];
|
||||||
rootViewController.view = rootView;
|
rootViewController.view = rootView;
|
||||||
|
Reference in New Issue
Block a user