Browse Source

fix color folder

Marino Faggiana 6 năm trước cách đây
mục cha
commit
9ad2c92bff
1 tập tin đã thay đổi với 3 bổ sung1 xóa
  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")