Skip to content

Commit

Permalink
Removed unused method. (flutter#9919)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaaclarke committed Jul 18, 2019
1 parent 7bd8fc3 commit cf40c24
Showing 1 changed file with 0 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -99,16 +99,6 @@ - (BOOL)application:(UIApplication*)application
return YES;
}

// Returns the key window's rootViewController, if it's a FlutterViewController.
// Otherwise, returns nil.
- (FlutterViewController*)rootFlutterViewController {
UIViewController* viewController = [UIApplication sharedApplication].keyWindow.rootViewController;
if ([viewController isKindOfClass:[FlutterViewController class]]) {
return (FlutterViewController*)viewController;
}
return nil;
}

- (void)applicationDidEnterBackground:(UIApplication*)application {
#if FLUTTER_RUNTIME_MODE == FLUTTER_RUNTIME_MODE_DEBUG
// The following keeps the Flutter session alive when the device screen locks
Expand Down

0 comments on commit cf40c24

Please sign in to comment.