浏览代码

fix color folder

Marino Faggiana 6 年之前
父节点
当前提交
9ad2c92bff
共有 1 个文件被更改,包括 3 次插入1 次删除
  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")