Browse Source

home: fix activity box not showing until after task is done

Fixes #385
pull/389/head
osy 5 years ago
parent
commit
9b5e36f306
  1. 2
      Views/VMListViewController.m

2
Views/VMListViewController.m

@ -150,7 +150,7 @@
void (^handler)(UIAlertAction *action) = ^(UIAlertAction *action){
dispatch_semaphore_signal(waitUntilCompletion);
if (completion) {
completion();
dispatch_async(dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0), completion);
}
};
dispatch_sync(dispatch_get_main_queue(), ^{

Loading…
Cancel
Save