Add a play indicator for running apps
This commit is contained in:
parent
b01d13976b
commit
5dee29a21c
4 changed files with 41 additions and 9 deletions
|
|
@ -302,6 +302,7 @@ static NSArray* appList;
|
|||
currentApp.isRunning = NO;
|
||||
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self updateApps];
|
||||
[self performSegueWithIdentifier:@"createStreamFrame" sender:nil];
|
||||
});
|
||||
|
||||
|
|
@ -318,6 +319,7 @@ static NSArray* appList;
|
|||
|
||||
[alert addAction:[UIAlertAction actionWithTitle:@"Ok" style:UIAlertActionStyleDestructive handler:nil]];
|
||||
dispatch_async(dispatch_get_main_queue(), ^{
|
||||
[self updateApps];
|
||||
[self presentViewController:alert animated:YES completion:nil];
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue