From 1d2be63a9e1923433b38bcc2347c350d61fb6925 Mon Sep 17 00:00:00 2001 From: arichorn <78001398+arichorn@users.noreply.github.com> Date: Tue, 5 Sep 2023 20:42:27 -0500 Subject: [PATCH] Changes from qnblackcat/uYouPlus MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I’m suspicious with the commit. Looks identical to my version. --- Settings.xm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/Settings.xm b/Settings.xm index b627eeb..a8b3b52 100644 --- a/Settings.xm +++ b/Settings.xm @@ -1491,16 +1491,6 @@ extern NSBundle *uYouPlusBundle(); } settingItemId:0], - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide 'Play next in queue'") - titleDescription:LOC(@"Hides 'Play Next In Queue' option from the menu. App restart is required.") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"hidePlayNextInQueue_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hidePlayNextInQueue_enabled"]; - return YES; - } - settingItemId:0], - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide YouTube Logo") titleDescription:LOC(@"Toggle this to hide the YouTube Logo in the YouTube App.") accessibilityIdentifier:nil @@ -1540,7 +1530,17 @@ extern NSBundle *uYouPlusBundle(); return YES; } settingItemId:0], - + + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_PLAY_NEXT_IN_QUEUE") + titleDescription:LOC(@"HIDE_PLAY_NEXT_IN_QUEUE_DESC") + accessibilityIdentifier:nil + switchOn:IsEnabled(@"hidePlayNextInQueue_enabled") + switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { + [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hidePlayNextInQueue_enabled"]; + return YES; + } + settingItemId:0], + [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"IPHONE_LAYOUT") titleDescription:LOC(@"IPHONE_LAYOUT_DESC") accessibilityIdentifier:nil