mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-02-16 02:20:53 +00:00
removed unused method and fixed log
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
onScreenControls = [[OnScreenControls alloc] initWithView:self];
|
||||
DataManager* dataMan = [[DataManager alloc] init];
|
||||
OnScreenControlsLevel level = (OnScreenControlsLevel)[[dataMan retrieveSettings].onscreenControls integerValue];
|
||||
NSLog(@"Setting on-screen controls level: %ld", level);
|
||||
NSLog(@"Setting on-screen controls level: %d", (int)level);
|
||||
[onScreenControls setLevel:level];
|
||||
}
|
||||
|
||||
|
||||
@@ -302,19 +302,6 @@ static StreamConfiguration* streamConfig;
|
||||
return appList.count;
|
||||
}
|
||||
|
||||
- (BOOL)validatePcSelected {
|
||||
if (_selectedHost == NULL) {
|
||||
UIAlertController* alert = [UIAlertController alertControllerWithTitle:@"No PC Selected"
|
||||
message:@"You must select a PC to continue."
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
[alert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]];
|
||||
[self presentViewController:alert animated:YES completion:nil];
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
- (void)didReceiveMemoryWarning
|
||||
{
|
||||
[super didReceiveMemoryWarning];
|
||||
|
||||
Reference in New Issue
Block a user