marinofaggiana 4 жил өмнө
parent
commit
db5e30b4d8

+ 13 - 12
iOSClient/Settings/CCManageAccount.m

@@ -84,6 +84,19 @@
         [section addFormRow:row];
     }
 
+    // Section : ALIAS --------------------------------------------------
+    
+    section = [XLFormSectionDescriptor formSectionWithTitle:NSLocalizedString(@"_alias_", nil)];
+    section.footerTitle = NSLocalizedString(@"_alias_footer_", nil);
+    [form addFormSection:section];
+    
+    row = [XLFormRowDescriptor formRowDescriptorWithTag:@"alias" rowType:XLFormRowDescriptorTypeAccount];
+    row.cellConfigAtConfigure[@"backgroundColor"] = NCBrandColor.shared.backgroundView;
+    [row.cellConfig setObject:[UIFont systemFontOfSize:15.0] forKey:@"textField.font"];
+    [row.cellConfig setObject:NCBrandColor.shared.textView forKey:@"textField.textColor"];
+    row.value = accountActive.alias;
+    [section addFormRow:row];
+    
     // Section : REQUEST ACCOUNT -------------------------------------------
     
     if (NCBrandOptions.shared.disable_request_account == NO) {
@@ -101,18 +114,6 @@
         [section addFormRow:row];
     }
     
-    // Section : ALIAS --------------------------------------------------
-    
-    section = [XLFormSectionDescriptor formSectionWithTitle:NSLocalizedString(@"_alias_", nil)];
-    [form addFormSection:section];
-    
-    row = [XLFormRowDescriptor formRowDescriptorWithTag:@"alias" rowType:XLFormRowDescriptorTypeAccount];
-    row.cellConfigAtConfigure[@"backgroundColor"] = NCBrandColor.shared.backgroundView;
-    [row.cellConfig setObject:[UIFont systemFontOfSize:15.0] forKey:@"textField.font"];
-    [row.cellConfig setObject:NCBrandColor.shared.textView forKey:@"textField.textColor"];
-    row.value = accountActive.alias;
-    [section addFormRow:row];
-    
     // Section : MANAGE ACCOUNT -------------------------------------------
     
     if ([NCBrandOptions shared].disable_manage_account == NO) {

+ 1 - 0
iOSClient/Supporting Files/en.lproj/Localizable.strings

@@ -165,6 +165,7 @@
 "_settings_account_request_" = "Request account at startup";
 "_print_"                   = "Print";
 "_alias_"                   = "Alias";
+"_alias_footer_"            = "Make your users more readable like home, office, school ...";
 
 /* User status */
 "_online_"                  = "Online";