From 0bdc5a83f168ca05d15f968dfd9b06205c837385 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Thu, 9 Jul 2015 20:39:15 -0700 Subject: [PATCH] Go directly to the app list after pairing like Android --- Limelight/ViewControllers/MainFrameViewController.m | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 688944e..24b67bc 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -66,14 +66,8 @@ static NSArray* appList; - (void)pairSuccessful { dispatch_sync(dispatch_get_main_queue(), ^{ [_pairAlert dismissViewControllerAnimated:YES completion:nil]; - _pairAlert = [UIAlertController alertControllerWithTitle:@"Pairing Successful" - message:@"Successfully paired to host" - preferredStyle:UIAlertControllerStyleAlert]; - [_pairAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]]; - [self presentViewController:_pairAlert animated:YES completion:nil]; - [_discMan startDiscovery]; - [self hideLoadingFrame]; + [self alreadyPaired]; }); }