From ec0124e2555d0629ac5a10bf5a33bce5412cf4b6 Mon Sep 17 00:00:00 2001 From: Cameron Gutman Date: Fri, 1 Jun 2018 00:07:25 -0700 Subject: [PATCH] Ensure we properly restart discovery after closing Control Center --- Limelight/ViewControllers/MainFrameViewController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Limelight/ViewControllers/MainFrameViewController.m b/Limelight/ViewControllers/MainFrameViewController.m index 7a1e414..33457f7 100644 --- a/Limelight/ViewControllers/MainFrameViewController.m +++ b/Limelight/ViewControllers/MainFrameViewController.m @@ -638,7 +638,7 @@ static NSMutableSet* hostList; [[NSNotificationCenter defaultCenter] addObserver: self selector: @selector(handleReturnToForeground) - name: UIApplicationWillEnterForegroundNotification + name: UIApplicationDidBecomeActiveNotification object: nil]; [[NSNotificationCenter defaultCenter] addObserver: self