mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-26 22:10:11 +00:00
Ensure we properly restart discovery after closing Control Center
This commit is contained in:
1 parent
132a1fc410
commit
ec0124e255
1 file changed
+1
-1
@@ -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