From 54dd79d2ddc0de54c93fcf4e2a2c1d409c42c030 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 10 Jul 2015 11:37:32 -0700 Subject: [PATCH] Remove OK button from pairing PIN dialog, since it dismisses automatically --- Limelight/ViewControllers/MainFrameViewController.m | 1 - 1 file changed, 1 deletion(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index dc63605..542e65f 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -44,7 +44,6 @@ static NSArray* appList; _pairAlert = [UIAlertController alertControllerWithTitle:@"Pairing" message:[NSString stringWithFormat:@"Enter the following PIN on the host machine: %@", PIN] preferredStyle:UIAlertControllerStyleAlert]; - [_pairAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]]; [self presentViewController:_pairAlert animated:YES completion:nil]; }); }