From 4bfbcd5f6a9e0020d84a34a42ab3dbe18375bcdc Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Mon, 23 Oct 2023 02:19:34 -0500 Subject: [PATCH] Update Settings.xm --- Settings.xm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Settings.xm b/Settings.xm index 9820f27..aff4a22 100644 --- a/Settings.xm +++ b/Settings.xm @@ -1674,7 +1674,7 @@ extern NSBundle *uYouPlusBundle(); settingItemId:0], [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Download Button under player") - titleDescription:LOC(@"Hides the Download Button below the player.") + titleDescription:LOC(@"Hides the Download Button under the video player.") accessibilityIdentifier:nil switchOn:IsEnabled(@"hideAddToOfflineButton_enabled") switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { @@ -1683,6 +1683,16 @@ extern NSBundle *uYouPlusBundle(); } settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the Remix Button under player") + titleDescription:LOC(@"Hides the Remix Button under the video player.") + accessibilityIdentifier:nil + switchOn:IsEnabled(@"hideRemixButton_enabled") + switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { + [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideRemixButton_enabled"]; + return YES; + } + settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide the comment section under player") titleDescription:LOC(@"Hides the Comment Section below the player.") accessibilityIdentifier:nil