From 2b84cde27f28ecb84bc1d7420fe469dfa191e90d Mon Sep 17 00:00:00 2001 From: Bryce Hackel <34104885+bhackel@users.noreply.github.com> Date: Wed, 3 Apr 2024 16:36:24 -0700 Subject: [PATCH] Remove feature that uYou added --- Sources/uYouPlus.xm | 26 +++++++++++++------------- Sources/uYouPlusSettings.xm | 2 +- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index f8eb7ac..2528135 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -696,16 +696,16 @@ BOOL isAd(YTIElementRenderer *self) { } %end -%group gHidePreviousAndNextButton -%hook YTColdConfig -- (BOOL)removeNextPaddleForAllVideos { - return YES; -} -- (BOOL)removePreviousPaddleForAllVideos { - return YES; -} -%end -%end +// %group gHidePreviousAndNextButton +// %hook YTColdConfig +// - (BOOL)removeNextPaddleForAllVideos { +// return YES; +// } +// - (BOOL)removePreviousPaddleForAllVideos { +// return YES; +// } +// %end +// %end // Hide Dark Overlay Background %group gHideOverlayDarkBackground @@ -1237,9 +1237,9 @@ static BOOL findCell(ASNodeController *nodeController, NSArray *ide if (IS_ENABLED(@"hideSubscriptionsNotificationBadge_enabled")) { %init(gHideSubscriptionsNotificationBadge); } - if (IS_ENABLED(@"hidePreviousAndNextButton_enabled")) { - %init(gHidePreviousAndNextButton); - } + // if (IS_ENABLED(@"hidePreviousAndNextButton_enabled")) { + // %init(gHidePreviousAndNextButton); + // } if (IS_ENABLED(@"hideOverlayDarkBackground_enabled")) { %init(gHideOverlayDarkBackground); } diff --git a/Sources/uYouPlusSettings.xm b/Sources/uYouPlusSettings.xm index 3022690..54a0c36 100644 --- a/Sources/uYouPlusSettings.xm +++ b/Sources/uYouPlusSettings.xm @@ -223,7 +223,7 @@ extern NSBundle *uYouPlusBundle(); SWITCH_ITEM(LOC(@"HIDE_PAID_PROMOTION_CARDS"), LOC(@"HIDE_PAID_PROMOTION_CARDS_DESC"), @"hidePaidPromotionCard_enabled"); SWITCH_ITEM2(LOC(@"HIDE_CHANNEL_WATERMARK"), LOC(@"HIDE_CHANNEL_WATERMARK_DESC"), @"hideChannelWatermark_enabled"); SWITCH_ITEM2(LOC(@"Hide Shadow Overlay Buttons"), LOC(@"Hide the Shadow Overlay on the Play/Pause, Previous, Next, Forward & Rewind Buttons."), @"hideVideoPlayerShadowOverlayButtons_enabled"); - SWITCH_ITEM(LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON"), LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON_DESC"), @"hidePreviousAndNextButton_enabled"); + // SWITCH_ITEM(LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON"), LOC(@"HIDE_PREVIOUS_AND_NEXT_BUTTON_DESC"), @"hidePreviousAndNextButton_enabled"); SWITCH_ITEM2(LOC(@"RED_PROGRESS_BAR"), LOC(@"RED_PROGRESS_BAR_DESC"), @"redProgressBar_enabled"); SWITCH_ITEM(LOC(@"HIDE_HOVER_CARD"), LOC(@"HIDE_HOVER_CARD_DESC"), @"hideHoverCards_enabled"); SWITCH_ITEM2(LOC(@"HIDE_RIGHT_PANEL"), LOC(@"HIDE_RIGHT_PANEL_DESC"), @"hideRightPanel_enabled");