From c388b6fcf4c3998e5438729aa630ca6d1eecdf43 Mon Sep 17 00:00:00 2001 From: Aric <78001398+arichorn@users.noreply.github.com> Date: Tue, 28 Feb 2023 19:24:32 -0600 Subject: [PATCH] Removed Shadow Overlay Buttons Option Option is only remove in this branch because this DOESN'T work on v16.42.3 of YouTube. --- Settings.xm | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/Settings.xm b/Settings.xm index c5d989b..6d67a76 100644 --- a/Settings.xm +++ b/Settings.xm @@ -160,16 +160,6 @@ extern NSBundle *uYouPlusBundle(); return YES; } settingItemId:0], - - [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"Hide Shadow Overlay Buttons") - titleDescription:LOC(@"Hide the Shadow Overlay on the Play/Pause, Previous & Next Buttons") - accessibilityIdentifier:nil - switchOn:IsEnabled(@"hideVideoPlayerShadowOverlayButtons_enabled") - switchBlock:^BOOL (YTSettingsCell *cell, BOOL enabled) { - [[NSUserDefaults standardUserDefaults] setBool:enabled forKey:@"hideVideoPlayerShadowOverlayButtons_enabled"]; - return YES; - } - settingItemId:0], [YTSettingsSectionItemClass switchItemWithTitle:LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON") titleDescription:LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON_DESC")