فهرست منبع

workaround for a crash when dragging a file out of a folder

Carola Nitz 11 سال پیش
والد
کامیت
2185a37f40
1فایلهای تغییر یافته به همراه0 افزوده شده و 2 حذف شده
  1. 0 2
      Sources/VLCPlaylistViewController.m

+ 0 - 2
Sources/VLCPlaylistViewController.m

@@ -227,7 +227,6 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
                 }
                 _reorderLayout = [[LXReorderableCollectionViewFlowLayout alloc] init];
                 [self.collectionView setCollectionViewLayout:_reorderLayout animated:NO];
-                _folderLayout = nil;
             }
         }
         _foundMedia = [NSMutableArray arrayWithArray:[folder sortedFolderItems]];
@@ -977,7 +976,6 @@ static NSString *kDisplayedFirstSteps = @"Did we display the first steps tutoria
             }
             _folderLayout = [[VLCFolderCollectionViewFlowLayout alloc] init];
             [self.collectionView setCollectionViewLayout:_folderLayout animated:NO];
-            _reorderLayout = nil;
             [_collectionView addGestureRecognizer:_longPressGestureRecognizer];
         }
     }