|
@@ -119,6 +119,20 @@
|
|
|
[row.cellConfig setObject:NCBrandColor.sharedInstance.textView forKey:@"textLabel.textColor"];
|
|
|
[section addFormRow:row];
|
|
|
|
|
|
+ // Delete asset
|
|
|
+
|
|
|
+ section = [XLFormSectionDescriptor formSection];
|
|
|
+ [form addFormSection:section];
|
|
|
+
|
|
|
+ row = [XLFormRowDescriptor formRowDescriptorWithTag:@"removePhotoCameraRoll" rowType:XLFormRowDescriptorTypeBooleanSwitch title:NSLocalizedString(@"_remove_photo_CameraRoll_", nil)];
|
|
|
+ row.cellConfigAtConfigure[@"backgroundColor"] = NCBrandColor.sharedInstance.backgroundView;
|
|
|
+ row.hidden = [NSString stringWithFormat:@"$%@==0", @"autoUpload"];
|
|
|
+ if (tableAccount.autoUploadDeleteAssetLocalIdentifier) row.value = @1;
|
|
|
+ else row.value = @0;
|
|
|
+ [row.cellConfig setObject:[UIFont systemFontOfSize:15.0] forKey:@"textLabel.font"];
|
|
|
+ [row.cellConfig setObject:NCBrandColor.sharedInstance.textView forKey:@"textLabel.textColor"];
|
|
|
+ [section addFormRow:row];
|
|
|
+
|
|
|
// Auto Upload Background
|
|
|
|
|
|
section = [XLFormSectionDescriptor formSection];
|