Skip to content

Commit ee9914a

Browse files
committed
main merged
2 parents 30bf2a5 + 45538b3 commit ee9914a

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

lib/ios/RNNSplashScreenViewController.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
@interface RNNSplashScreenViewController : UIViewController
55

66
+ (void)showOnWindow:(UIWindow *)window;
7-
+ (UIViewController*)getSplashScreen;
7+
+ (UIViewController*)getSplashScreenVC;
88
@end

lib/ios/RNNSplashScreenViewController.mm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,15 @@
55
@implementation RNNSplashScreenViewController
66

77
+ (void)showOnWindow:(UIWindow *)window {
8-
UIViewController *viewController = [self getSplashScreen];
8+
UIViewController *viewController = [self getSplashScreenVC];
99
if (viewController != nil) {
1010
id<UIApplicationDelegate> appDelegate = [UIApplication sharedApplication].delegate;
1111
appDelegate.window.rootViewController = viewController;
1212
[appDelegate.window makeKeyAndVisible];
1313
}
1414
}
1515

16-
+ (UIViewController*)getSplashScreen {
16+
+ (UIViewController*)getSplashScreenVC {
1717
CGRect screenBounds = [UIScreen mainScreen].bounds;
1818
CGFloat screenScale = [UIScreen mainScreen].scale;
1919
UIViewController *viewController = nil;

lib/ios/TurboModules/RNNTurboManager.mm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ - (void)onJavaScriptWillLoad {
9999

100100
- (void)onJavaScriptLoaded {
101101
RCTExecuteOnMainQueue(^{
102-
UIApplication.sharedApplication.delegate.window.rootViewController = [RNNSplashScreenViewController getSplashScreen];
102+
UIApplication.sharedApplication.delegate.window.rootViewController = [RNNSplashScreenViewController getSplashScreenVC];
103103

104104
[self->_commandsHandler setReadyToReceiveCommands:true];
105105
// TODO: Refactor

0 commit comments

Comments
 (0)