Explorar el Código

fix color folder

Marino Faggiana hace 6 años
padre
commit
9ad2c92bff
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      iOSClient/Trash/NCTrash.swift

+ 3 - 1
iOSClient/Trash/NCTrash.swift

@@ -770,7 +770,9 @@ class NCTrash: UIViewController ,UICollectionViewDataSource, UICollectionViewDel
         }
         
         // Header
-        if tableTrash.iconName.count > 0 {
+        if tableTrash.directory {
+            image = CCGraphics.changeThemingColorImage(UIImage.init(named: "folder"), multiplier: 3, color: NCBrandColor.sharedInstance.brandElement)
+        } else if tableTrash.iconName.count > 0 {
             image = UIImage.init(named: tableTrash.iconName)
         } else {
             image = UIImage.init(named: "file")