浏览代码

normalized

marinofaggiana 4 年之前
父节点
当前提交
a32498b580
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      iOSClient/Settings/CCManageAccount.m

+ 2 - 1
iOSClient/Settings/CCManageAccount.m

@@ -53,7 +53,8 @@
     
     for (tableAccount *account in accounts) {
         
-        row = [XLFormRowDescriptor formRowDescriptorWithTag:account.account rowType:XLFormRowDescriptorTypeBooleanCheck title:account.account];
+        NSString *title = [NSString stringWithFormat:@"%@ %@", account.user, [NSURL URLWithString:account.urlBase].host];
+        row = [XLFormRowDescriptor formRowDescriptorWithTag:account.account rowType:XLFormRowDescriptorTypeBooleanCheck title:title];
         // Avatar
         NSString *fileNamePath = [NSString stringWithFormat:@"%@/%@-%@.png", [CCUtility getDirectoryUserData], [CCUtility getStringUser:account.user urlBase:account.urlBase], account.user];
         UIImage *avatar = [UIImage imageWithContentsOfFile:fileNamePath];