Browse Source

collection view: use regular orange tint color instead of something custom for drag & drop

(cherry picked from commit 8f15c9a0a033e2a1099637946f57a7b8646e63e8)
Felix Paul Kühne 9 years ago
parent
commit
3f698056fd
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Sources/VLCFolderCollectionViewFlowLayout.m

+ 1 - 1
Sources/VLCFolderCollectionViewFlowLayout.m

@@ -157,7 +157,7 @@ static NSString * const kLXCollectionViewKeyPath = @"collectionView";
     UICollectionViewCell *cell = [self.collectionView.dataSource collectionView:self.collectionView cellForItemAtIndexPath:newIndexPath];
     UICollectionViewCell *cell = [self.collectionView.dataSource collectionView:self.collectionView cellForItemAtIndexPath:newIndexPath];
     if (!_folderView) {
     if (!_folderView) {
         _folderView = [[UIView alloc] initWithFrame:cell.frame];
         _folderView = [[UIView alloc] initWithFrame:cell.frame];
-        _folderView.backgroundColor = [UIColor colorWithRed:(236.0f/255.0f) green:(111.0f/255.0f) blue:0.0f alpha:1.f];
+        _folderView.backgroundColor = [UIColor VLCOrangeTintColor];
         _folderView.layer.cornerRadius = 8;
         _folderView.layer.cornerRadius = 8;
     }
     }
     [self.collectionView insertSubview:_folderView atIndex:0];
     [self.collectionView insertSubview:_folderView atIndex:0];