marinofaggiana 4 年之前
父节点
当前提交
76ce1092f9

+ 2 - 2
iOSClient/Main/Create cloud/NCCreateFormUploadScanDocument.swift

@@ -487,9 +487,9 @@ class NCCreateFormUploadScanDocument: XLFormViewController, NCSelectDelegate, NC
                 UIGraphicsBeginPDFContextToData(pdfData, CGRect.zero, nil)
             }
             var fontColor = UIColor.clear
-            #if targetEnvironment(simulator)
+#if targetEnvironment(simulator)
             fontColor = UIColor.red
-            #endif
+#endif
             
             for var image in self.arrayImages {
                 

+ 2 - 2
iOSClient/Settings/CCManageAccount.m

@@ -337,9 +337,9 @@
         [row.cellConfig setObject:[[UIImage imageNamed:@"editUserProfile"] imageWithColor:NCBrandColor.shared.icon size:25] forKey:@"imageView.image"];
         [row.cellConfig setObject:@(NSTextAlignmentLeft) forKey:@"textLabel.textAlignment"];
         [row.cellConfig setObject:NCBrandColor.shared.label forKey:@"textLabel.textColor"];
-        #if defined(HC)
+#if defined(HC)
         row.action.viewControllerClass = [HCEditProfile class];
-        #endif
+#endif
         if (accounts.count == 0) row.disabled = @YES;
         [section addFormRow:row];
     }