marinofaggiana 4 năm trước cách đây
mục cha
commit
7f0b1e08f5

+ 0 - 2
iOSClient/Main/Cell/NCListCell.swift

@@ -70,8 +70,6 @@ class NCListCell: UICollectionViewCell, UIGestureRecognizerDelegate, NCImageCell
         progressView.transform = CGAffineTransform(scaleX: 1.0, y: 0.5)
         progressView.transform = CGAffineTransform(scaleX: 1.0, y: 0.5)
         progressView.trackTintColor = .clear
         progressView.trackTintColor = .clear
 
 
-        separator.backgroundColor = NCBrandColor.sharedInstance.separator
-        
         let longPressedGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPress(gestureRecognizer:)))
         let longPressedGesture = UILongPressGestureRecognizer(target: self, action: #selector(longPress(gestureRecognizer:)))
         longPressedGesture.minimumPressDuration = 0.5
         longPressedGesture.minimumPressDuration = 0.5
         longPressedGesture.delegate = self
         longPressedGesture.delegate = self

+ 1 - 0
iOSClient/Main/Collection/NCCollectionCommon.swift

@@ -120,6 +120,7 @@ class NCCollectionCommon: NSObject {
             cell.indexPath = indexPath
             cell.indexPath = indexPath
             cell.labelTitle.text = metadata.fileNameView
             cell.labelTitle.text = metadata.fileNameView
             cell.labelTitle.textColor = NCBrandColor.sharedInstance.textView
             cell.labelTitle.textColor = NCBrandColor.sharedInstance.textView
+            cell.separator.backgroundColor = NCBrandColor.sharedInstance.separator
             
             
             cell.imageSelect.image = nil
             cell.imageSelect.image = nil
             cell.imageStatus.image = nil
             cell.imageStatus.image = nil