Sfoglia il codice sorgente

iOS: Fix the addition of random items on the edit mode toolbar

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Soomin Lee 8 anni fa
parent
commit
95ae3ba002
1 ha cambiato i file con 0 aggiunte e 3 eliminazioni
  1. 0 3
      Sources/VLCLibraryViewController.m

+ 0 - 3
Sources/VLCLibraryViewController.m

@@ -1589,9 +1589,6 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
         }
 
         if ([fileURLobjects count]) {
-            // Provide some basic user feedback as UIActivityController lags in presentation sometimes (blocking the main thread).
-            [self.navigationController.toolbar.items makeObjectsPerformSelector:@selector(setEnabled:) withObject:@(NO)];
-
             // Just in case, since we are facing a possible delay from code we do not control (UIActivityViewController), disable any possible changes to selection (or exit from this screen)
             [[UIApplication sharedApplication] beginIgnoringInteractionEvents];