From c1e75b443cb8fa0b4fd9971d422af661e78d4ced Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Sun, 24 Sep 2023 20:12:00 -0500 Subject: [PATCH] Update Settings.xm --- Settings.xm | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Settings.xm b/Settings.xm index 9784fe2..4749c01 100644 --- a/Settings.xm +++ b/Settings.xm @@ -1643,6 +1643,16 @@ extern NSBundle *uYouPlusBundle(); } settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide Header Links under Channel Profile") + titleDescription:LOC(@"Hides the Header Links under any Channel Profile.") + accessibilityIdentifier:nil + switchOn:IsEnabled(@"hideChannelHeaderLinks_enabled") + switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { + [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideChannelHeaderLinks_enabled"]; + return YES; + } + settingItemId:0], + /* [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Download Button under player") titleDescription:LOC(@"Hides the Download Button below the player.")