mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-04 00:36:23 +00:00
Remove loading frame from Add Host dialog flow
This commit is contained in:
parent
f8613cdbfd
commit
336dbeed98
@ -425,7 +425,6 @@ static NSMutableSet* hostList;
|
|||||||
|
|
||||||
- (void) addHostClicked {
|
- (void) addHostClicked {
|
||||||
Log(LOG_D, @"Clicked add host");
|
Log(LOG_D, @"Clicked add host");
|
||||||
[self showLoadingFrame: ^{
|
|
||||||
UIAlertController* alertController = [UIAlertController alertControllerWithTitle:@"Host Address" message:@"Please enter a hostname or IP address" preferredStyle:UIAlertControllerStyleAlert];
|
UIAlertController* alertController = [UIAlertController alertControllerWithTitle:@"Host Address" message:@"Please enter a hostname or IP address" preferredStyle:UIAlertControllerStyleAlert];
|
||||||
[alertController addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:nil]];
|
[alertController addAction:[UIAlertAction actionWithTitle:@"Cancel" style:UIAlertActionStyleCancel handler:nil]];
|
||||||
[alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:^(UIAlertAction* action){
|
[alertController addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:^(UIAlertAction* action){
|
||||||
@ -450,10 +449,7 @@ static NSMutableSet* hostList;
|
|||||||
}];});
|
}];});
|
||||||
}]];
|
}]];
|
||||||
[alertController addTextFieldWithConfigurationHandler:nil];
|
[alertController addTextFieldWithConfigurationHandler:nil];
|
||||||
[self hideLoadingFrame: ^{
|
|
||||||
[[self activeViewController] presentViewController:alertController animated:YES completion:nil];
|
[[self activeViewController] presentViewController:alertController animated:YES completion:nil];
|
||||||
}];
|
|
||||||
}];
|
|
||||||
}
|
}
|
||||||
|
|
||||||
- (void) prepareToStreamApp:(TemporaryApp *)app {
|
- (void) prepareToStreamApp:(TemporaryApp *)app {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user