marinofaggiana 4 년 전
부모
커밋
124559e079
2개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 1
      iOSClient/FileViewInFolder/NCFileViewInFolder.swift
  2. 1 1
      iOSClient/Trash/NCTrash.swift

+ 1 - 1
iOSClient/FileViewInFolder/NCFileViewInFolder.swift

@@ -101,7 +101,7 @@ class NCFileViewInFolder: NCCollectionViewCommon  {
                                     self.collectionView.scrollToItem(at: IndexPath(row: row, section: 0), at: .centeredVertically, animated: false)
                                 } completion: { (_) in
                                     if let cell = self.collectionView.cellForItem(at: IndexPath(row: row, section: 0)) {
-                                        cell.backgroundColor = NCBrandColor.sharedInstance.brandElement.withAlphaComponent(0.5)
+                                        cell.backgroundColor = .darkGray
                                         UIView.animate(withDuration: 2) {
                                             cell.backgroundColor = .clear
                                             self.fileName = nil

+ 1 - 1
iOSClient/Trash/NCTrash.swift

@@ -578,7 +578,7 @@ extension NCTrash {
                             self.collectionView.scrollToItem(at:indexPath, at: .centeredVertically, animated: false)
                         } completion: { (_) in
                             if let cell = self.collectionView.cellForItem(at: indexPath) {
-                                cell.backgroundColor = NCBrandColor.sharedInstance.brandElement.withAlphaComponent(0.5)
+                                cell.backgroundColor = .darkGray
                                 UIView.animate(withDuration: 2) {
                                     cell.backgroundColor = .clear
                                     self.blinkFileId = nil