marinofaggiana hace 5 años
padre
commit
9a04c95c32

+ 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)