mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-06-17 14:11:33 +00:00
Ensure we properly restart discovery after closing Control Center
This commit is contained in:
@@ -638,7 +638,7 @@ static NSMutableSet* hostList;
|
|||||||
|
|
||||||
[[NSNotificationCenter defaultCenter] addObserver: self
|
[[NSNotificationCenter defaultCenter] addObserver: self
|
||||||
selector: @selector(handleReturnToForeground)
|
selector: @selector(handleReturnToForeground)
|
||||||
name: UIApplicationWillEnterForegroundNotification
|
name: UIApplicationDidBecomeActiveNotification
|
||||||
object: nil];
|
object: nil];
|
||||||
|
|
||||||
[[NSNotificationCenter defaultCenter] addObserver: self
|
[[NSNotificationCenter defaultCenter] addObserver: self
|
||||||
|
|||||||
Reference in New Issue
Block a user