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