Browse Source

iOS: Remove the reset of the editmode while using the CollectionView

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Soomin Lee 8 years ago
parent
commit
997183c2f9
1 changed files with 0 additions and 4 deletions
  1. 0 4
      Sources/VLCLibraryViewController.m

+ 0 - 4
Sources/VLCLibraryViewController.m

@@ -1373,10 +1373,6 @@ static NSString *kUsingTableViewToShowData = @"UsingTableViewToShowData";
 
 - (IBAction)backToAllItems:(id)sender
 {
-    if (!self.usingTableViewToShowData) {
-        if (self.editing)
-            [self setEditing:NO animated:NO];
-    }
     _inFolder = NO;
     UIBarButtonItem *createFolderItem = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemOrganize target:self action:@selector(createFolder)];
     NSMutableArray *toolbarItems = [self.toolbarItems mutableCopy];