Browse Source

fileNameView init conversion code

Marino Faggiana 7 years ago
parent
commit
e5e230b62c
2 changed files with 2 additions and 2 deletions
  1. 1 1
      iOSClient/Share/CCShareOC.m
  2. 1 1
      iOSClient/Share/CCSharePermissionOC.m

+ 1 - 1
iOSClient/Share/CCShareOC.m

@@ -133,7 +133,7 @@
 
     }
     
-    self.labelTitle.text = self.metadata.fileName;
+    self.labelTitle.text = self.metadata.fileNameView;
     self.labelTitle.textColor = [UIColor blackColor];
     
     self.tableView.tableHeaderView = ({UIView *line = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.tableView.frame.size.width, 0.1 / UIScreen.mainScreen.scale)];

+ 1 - 1
iOSClient/Share/CCSharePermissionOC.m

@@ -105,7 +105,7 @@
     [form addFormSection:section];
     
     row = [XLFormRowDescriptor formRowDescriptorWithTag:@"sharepath" rowType:XLFormRowDescriptorTypeInfo title:NSLocalizedString(@"_share_permission_path_", nil)];
-    row.value = self.metadata.fileName;
+    row.value = self.metadata.fileNameView;
     [row.cellConfig setObject:[UIFont systemFontOfSize:15.0]forKey:@"textLabel.font"];
     [row.cellConfig setObject:[UIFont systemFontOfSize:15.0]forKey:@"detailTextLabel.font"];
     [section addFormRow:row];