mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-16 05:31:01 +00:00
Fix menu button recognizer not always working after returning from settings
This commit is contained in:
@@ -248,7 +248,7 @@ static NSMutableSet* hostList;
|
|||||||
#if TARGET_OS_TV
|
#if TARGET_OS_TV
|
||||||
// Remove the menu button intercept to allow the app to exit
|
// Remove the menu button intercept to allow the app to exit
|
||||||
// when at the host selection view.
|
// when at the host selection view.
|
||||||
[self.view removeGestureRecognizer:_menuRecognizer];
|
[self.navigationController.view removeGestureRecognizer:_menuRecognizer];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
[_appManager stopRetrieving];
|
[_appManager stopRetrieving];
|
||||||
@@ -296,7 +296,7 @@ static NSMutableSet* hostList;
|
|||||||
|
|
||||||
#if TARGET_OS_TV
|
#if TARGET_OS_TV
|
||||||
// Intercept the menu key to go back to the host page
|
// Intercept the menu key to go back to the host page
|
||||||
[self.view addGestureRecognizer:_menuRecognizer];
|
[self.navigationController.view addGestureRecognizer:_menuRecognizer];
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// If we are online, paired, and have a cached app list, skip straight
|
// If we are online, paired, and have a cached app list, skip straight
|
||||||
|
|||||||
Reference in New Issue
Block a user