|
@@ -111,6 +111,7 @@
|
|
|
[form addFormSection:section];
|
|
|
|
|
|
// Dark Mode
|
|
|
+ /*
|
|
|
if (@available(iOS 13.0, *)) {
|
|
|
row = [XLFormRowDescriptor formRowDescriptorWithTag:@"darkModeDetect" rowType:XLFormRowDescriptorTypeBooleanSwitch title:[NSString stringWithFormat:@"%@ (beta)", NSLocalizedString(@"_dark_mode_detect_", nil)]];
|
|
|
row.cellConfigAtConfigure[@"backgroundColor"] = NCBrandColor.sharedInstance.backgroundView;
|
|
@@ -121,6 +122,7 @@
|
|
|
else row.value = @0;
|
|
|
[section addFormRow:row];
|
|
|
}
|
|
|
+ */
|
|
|
|
|
|
row = [XLFormRowDescriptor formRowDescriptorWithTag:@"darkMode" rowType:XLFormRowDescriptorTypeBooleanSwitch title:[NSString stringWithFormat:@"%@ (beta)", NSLocalizedString(@"_dark_mode_", nil)]];
|
|
|
row.cellConfigAtConfigure[@"backgroundColor"] = NCBrandColor.sharedInstance.backgroundView;
|