Skip to content

Commit

Permalink
Revert class method change. Update didFinishLaunchingWithOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
safaiyeh authored Dec 19, 2019
1 parent f1c70f2 commit 22760d5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions template/ios/HelloWorld/AppDelegate.m
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ @implementation AppDelegate

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
[self initializeFlipper:application];
[AppDelegate initializeFlipper:application];
RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions];
RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge
moduleName:@"HelloWorld"
Expand All @@ -51,7 +51,7 @@ - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge
#endif
}

- (void) initializeFlipper:(UIApplication *)application
+ (void) initializeFlipper:(UIApplication *)application
{
#if DEBUG
#ifdef FB_SONARKIT_ENABLED
Expand Down

0 comments on commit 22760d5

Please sign in to comment.