瀏覽代碼

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

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
Soomin Lee 8 年之前
父節點
當前提交
997183c2f9
共有 1 個文件被更改,包括 0 次插入4 次删除
  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];