Browse Source

clear code

Marino Faggiana 6 years ago
parent
commit
435aa41871
1 changed files with 4 additions and 2 deletions
  1. 4 2
      iOSClient/Share/CCShareOC.m

+ 4 - 2
iOSClient/Share/CCShareOC.m

@@ -72,11 +72,13 @@
     row = [XLFormRowDescriptor formRowDescriptorWithTag:@"password" rowType:XLFormRowDescriptorTypePassword title:NSLocalizedString(@"_password_", nil)];
     [row.cellConfig setObject:[UIFont systemFontOfSize:15.0]forKey:@"textLabel.font"];
     [section addFormRow:row];
-    
+ 
+#if TARGET_OS_SIMULATOR
     row = [XLFormRowDescriptor formRowDescriptorWithTag:@"hideDownload" rowType:XLFormRowDescriptorTypeBooleanSwitch title:NSLocalizedString(@"_share_link_hide_download_", nil)];
     [row.cellConfig setObject:[UIFont systemFontOfSize:15.0]forKey:@"textLabel.font"];
     [section addFormRow:row];
-
+#endif
+    
     // Expiration date
     
     section = [XLFormSectionDescriptor formSection];