Skip to content

Commit

Permalink
Update the splashscreen patch for react-native-splashscreen 3.1.1
Browse files Browse the repository at this point in the history
  • Loading branch information
bryanstearns committed Sep 23, 2018
1 parent 57c033d commit aca8745
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions boilerplate/patches/splash-screen/splash-screen.patch
Original file line number Diff line number Diff line change
Expand Up @@ -17208,15 +17208,15 @@ index 36c1405..379305f 100644
*/

#import "AppDelegate.h"
+#import "SplashScreen.h"
+#import "RNSplashScreen.h"

#import <React/RCTBundleURLProvider.h>
#import <React/RCTRootView.h>
@@ -29,6 +30,7 @@
rootViewController.view = rootView;
self.window.rootViewController = rootViewController;
[self.window makeKeyAndVisible];
+ [SplashScreen show];
+ [RNSplashScreen show];
return YES;
}

Expand Down

0 comments on commit aca8745

Please sign in to comment.