소스 검색

clear code

Marino Faggiana 6 년 전
부모
커밋
435aa41871
1개의 변경된 파일4개의 추가작업 그리고 2개의 파일을 삭제
  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];