From bd0aedb4a90629ac8b568a4e94093b4d9c96cce6 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Wed, 27 Dec 2023 22:12:56 -0600 Subject: [PATCH] Update Settings.xm --- Settings.xm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Settings.xm b/Settings.xm index 6921ba3..26c6f13 100644 --- a/Settings.xm +++ b/Settings.xm @@ -247,7 +247,7 @@ extern NSBundle *uYouPlusBundle(); # pragma mark - UI interface options SECTION_HEADER(LOC(@"UI Interface Options")); - SWITCH_ITEM3(LOC(@"Low Contrast Mode"), LOC(@"This will lower the contrast of texts and buttons, similar to the old YouTube Interface. App restart is required."), @"lowContrastMode_enabled"); + SWITCH_ITEM2(LOC(@"Low Contrast Mode"), LOC(@"This will lower the contrast of texts and buttons, similar to the old YouTube Interface. App restart is required."), @"lowContrastMode_enabled"); YTSettingsSectionItem *lowContrastMode = [%c(YTSettingsSectionItem) itemWithTitle:@"Low Contrast Mode Selector" accessibilityIdentifier:nil @@ -266,7 +266,7 @@ 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];