瀏覽代碼

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

(cherry picked from commit 8f15c9a0a033e2a1099637946f57a7b8646e63e8)
Felix Paul Kühne 9 年之前
父節點
當前提交
3f698056fd
共有 1 個文件被更改,包括 1 次插入1 次删除
  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];
     if (!_folderView) {
         _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;
     }
     [self.collectionView insertSubview:_folderView atIndex:0];