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

+ 5 - 1
iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

@@ -472,7 +472,11 @@ class NCCreateFormUploadScanDocument: XLFormViewController, NCSelectDelegate {
                                     
                                     let bounds = textLine.bounds
                                     let text = textLine.value!
-                                    let fontColor = UIColor.red
+                                    var fontColor = UIColor.clear
+                                    
+#if targetEnvironment(simulator)
+                                    fontColor = UIColor.red
+#endif
                                     
                                     //print(text)