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