From 10ce2d1bd8c4462a31df62e204bfeec879da3ed2 Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Mon, 11 Sep 2023 18:37:14 -0500 Subject: [PATCH] Update Settings.xm --- Settings.xm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Settings.xm b/Settings.xm index be62689..9241022 100644 --- a/Settings.xm +++ b/Settings.xm @@ -433,8 +433,10 @@ extern NSBundle *uYouPlusBundle(); accessibilityIdentifier:nil detailTextBlock:^NSString *() { switch (contrastMode()) { +/* case 1: return LOC(@"Hex Color"); +*/ case 0: default: return LOC(@"Default"); @@ -446,12 +448,14 @@ extern NSBundle *uYouPlusBundle(); [[NSUserDefaults standardUserDefaults] setInteger:0 forKey:@"lcm"]; [settingsViewController reloadData]; return YES; - }], + }] +/* [YTSettingsSectionItemClass checkmarkItemWithTitle:LOC(@"Hex Color") titleDescription:nil selectBlock:^BOOL (YTSettingsCell *cell, NSUInteger arg1) { [[NSUserDefaults standardUserDefaults] setInteger:1 forKey:@"lcm"]; [settingsViewController reloadData]; return YES; }] +*/ ]; YTSettingsPickerViewController *picker = [[%c(YTSettingsPickerViewController) alloc] initWithNavTitle:LOC(@"Low Contrast Mode") pickerSectionTitle:nil rows:rows selectedItemIndex:contrastMode() parentResponder:[self parentResponder]]; [settingsViewController pushViewController:picker];