Ensure we properly restart discovery after closing Control Center

This commit is contained in:
Cameron Gutman 2018-06-01 00:07:25 -07:00
commit ec0124e255

View file

@ -638,7 +638,7 @@ static NSMutableSet* hostList;
[[NSNotificationCenter defaultCenter] addObserver: self
selector: @selector(handleReturnToForeground)
name: UIApplicationWillEnterForegroundNotification
name: UIApplicationDidBecomeActiveNotification
object: nil];
[[NSNotificationCenter defaultCenter] addObserver: self