- remove legacy help button

This commit is contained in:
TrueZhuanjia
2025-07-29 08:49:50 +08:00
parent 96f11a4a69
commit e37c22b259
2 changed files with 4 additions and 1 deletions
+2
View File
@@ -72,12 +72,14 @@ NSString *const deviceName = @"roth";
#endif
+ (void) addHelpOptionToDialog:(UIAlertController*)dialog {
return;/*
#if !TARGET_OS_TV
// tvOS doesn't have a browser
[dialog addAction:[UIAlertAction actionWithTitle:[LocalizationHelper localizedStringForKey:@"Help"] style:UIAlertActionStyleDefault handler:^(UIAlertAction* action){
[Utils launchUrl:@"https://github.com/moonlight-stream/moonlight-docs/wiki/Troubleshooting"];
}]];
#endif
*/
}
+ (BOOL) parseAddressPortString:(NSString*)addressPort address:(NSRange*)address port:(NSRange*)port {
@@ -811,6 +811,8 @@
[self.navigationController popToRootViewControllerAnimated:NO];
_extWindow = nil;
self.mainFrameViewcontroller.settingsExpandedInStreamView = false; // reset this flag to false
}
// External Screen connected
@@ -957,7 +959,6 @@
- (void)disconnectRemoteSession {
Log(LOG_I, @"Settings view disconnect the session in stream view");
self.mainFrameViewcontroller.settingsExpandedInStreamView = false; // reset this flag to false
[self returnToMainFrame];
}