mirror of
https://github.com/moonlight-stream/moonlight-qt.git
synced 2026-10-20 15:27:17 +00:00
Remove OK button from pairing PIN dialog, since it dismisses automatically
This commit is contained in:
1 parent
935fb6ffe3
commit
54dd79d2dd
1 file changed
-1
@@ -44,7 +44,6 @@ static NSArray* appList;
|
||||
_pairAlert = [UIAlertController alertControllerWithTitle:@"Pairing"
|
||||
message:[NSString stringWithFormat:@"Enter the following PIN on the host machine: %@", PIN]
|
||||
preferredStyle:UIAlertControllerStyleAlert];
|
||||
[_pairAlert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]];
|
||||
[self presentViewController:_pairAlert animated:YES completion:nil];
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user