mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-23 16:57:02 +00:00
Fix bug that can cause spinner to get stuck
This commit is contained in:
@@ -326,13 +326,13 @@ static NSMutableSet* hostList;
|
|||||||
[Utils addHelpOptionToDialog:applistAlert];
|
[Utils addHelpOptionToDialog:applistAlert];
|
||||||
[applistAlert addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil]];
|
[applistAlert addAction:[UIAlertAction actionWithTitle:@"OK" style:UIAlertActionStyleDefault handler:nil]];
|
||||||
|
|
||||||
if (view != nil) {
|
// Only display an alert if this was the result of a real
|
||||||
// Only display an alert if this was the result of a real
|
// user action, not just passively entering the foreground again
|
||||||
// user action, not just passively entering the foreground again
|
[self hideLoadingFrame: ^{
|
||||||
[self hideLoadingFrame: ^{
|
if (view != nil) {
|
||||||
[[self activeViewController] presentViewController:applistAlert animated:YES completion:nil];
|
[[self activeViewController] presentViewController:applistAlert animated:YES completion:nil];
|
||||||
}];
|
}
|
||||||
}
|
}];
|
||||||
|
|
||||||
host.online = NO;
|
host.online = NO;
|
||||||
[self showHostSelectionView];
|
[self showHostSelectionView];
|
||||||
|
|||||||
Reference in New Issue
Block a user