marinofaggiana 4 år sedan
förälder
incheckning
124559e079

+ 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