|
@@ -84,6 +84,19 @@
|
|
[section addFormRow:row];
|
|
[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 -------------------------------------------
|
|
// Section : REQUEST ACCOUNT -------------------------------------------
|
|
|
|
|
|
if (NCBrandOptions.shared.disable_request_account == NO) {
|
|
if (NCBrandOptions.shared.disable_request_account == NO) {
|
|
@@ -101,18 +114,6 @@
|
|
[section addFormRow:row];
|
|
[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 -------------------------------------------
|
|
// Section : MANAGE ACCOUNT -------------------------------------------
|
|
|
|
|
|
if ([NCBrandOptions shared].disable_manage_account == NO) {
|
|
if ([NCBrandOptions shared].disable_manage_account == NO) {
|