Browse Source

normalized

marinofaggiana 4 years ago
parent
commit
a32498b580
1 changed files with 2 additions and 1 deletions
  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];