mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-23 08:47:02 +00:00
Go directly to the app list after pairing like Android
This commit is contained in:
@@ -66,14 +66,8 @@ static NSArray* appList;
|
|||||||
- (void)pairSuccessful {
|
- (void)pairSuccessful {
|
||||||
dispatch_sync(dispatch_get_main_queue(), ^{
|
dispatch_sync(dispatch_get_main_queue(), ^{
|
||||||
[_pairAlert dismissViewControllerAnimated:YES completion:nil];
|
[_pairAlert dismissViewControllerAnimated:YES completion:nil];
|
||||||
_pairAlert = [UIAlertController alertControllerWithTitle:@"Pairing Successful"
|
|
||||||
message:@"Successfully paired to host"
|
|
||||||
preferredStyle:UIAlertControllerStyleAlert];
|
|
||||||
[_pairAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]];
|
|
||||||
[self presentViewController:_pairAlert animated:YES completion:nil];
|
|
||||||
|
|
||||||
[_discMan startDiscovery];
|
[_discMan startDiscovery];
|
||||||
[self hideLoadingFrame];
|
[self alreadyPaired];
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user