From e549c1e9e9a566a43fd3d4506297368087f5149d Mon Sep 17 00:00:00 2001 From: qnblackcat Date: Sat, 6 Aug 2022 11:31:20 +0700 Subject: [PATCH] fixed missing scroll bar in Shorts (#343) --- uYouPlus.xm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index 3325ff8..338d762 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -240,9 +240,13 @@ BOOL hidePaidPromotionCard() { - (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {} %end -// Enable Shorts scroll bar - @level3tjg - https://reddit.com/r/jailbreak/comments/v29yvk/_/iasl1l0/ +// Enable Shorts scroll bar - @PoomSmart & @level3tjg %hook YTReelPlayerViewController -- (BOOL)shouldEnablePlayerBar { return YES; } +- (BOOL)shouldAlwaysEnablePlayerBar { return YES; } +%end + +%hook YTInlinePlayerBarContainerView +- (void)setUserInteractionEnabled:(BOOL)enabled { %orig(YES); } %end // Workaround for issue #54