marinofaggiana 5 年之前
父節點
當前提交
bac8f7335e
共有 1 個文件被更改,包括 3 次插入2 次删除
  1. 3 2
      iOSClient/Main/Create cloud/NCCreateFormUploadRichdocuments.swift

+ 3 - 2
iOSClient/Main/Create cloud/NCCreateFormUploadRichdocuments.swift

@@ -180,15 +180,16 @@ class NCCreateFormUploadRichdocuments: XLFormViewController, NCSelectDelegate, U
         // name
         let name = cell.viewWithTag(200) as! UILabel
         name.text = template.name
-        name.textColor = NCBrandColor.sharedInstance.textView
+        name.textColor = NCBrandColor.sharedInstance.backgroundView
         
         // select
         let imageSelect = cell.viewWithTag(300) as! UIImageView
         if selectTemplate != nil && selectTemplate?.name == template.name {
+            cell.backgroundColor = NCBrandColor.sharedInstance.textView
             imageSelect.image = UIImage(named: "plus100")
             imageSelect.isHidden = false
         } else {
-            cell.backgroundColor = UIColor.black
+            cell.backgroundColor = NCBrandColor.sharedInstance.backgroundView
             imageSelect.isHidden = true
         }