Explorar o código

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

Carola Nitz %!s(int64=11) %!d(string=hai) anos
pai
achega
2185a37f40
Modificáronse 1 ficheiros con 0 adicións e 2 borrados
  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];
         }
     }