fixed missing scroll bar in Shorts (#343)

This commit is contained in:
qnblackcat
2022-08-06 11:31:20 +07:00
parent afb5cf1cb6
commit e549c1e9e9
+6 -2
View File
@@ -240,9 +240,13 @@ BOOL hidePaidPromotionCard() {
- (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {} - (void)showSurveyWithRenderer:(id)arg1 surveyParentResponder:(id)arg2 {}
%end %end
// Enable Shorts scroll bar - @level3tjg - https://reddit.com/r/jailbreak/comments/v29yvk/_/iasl1l0/ // Enable Shorts scroll bar - @PoomSmart & @level3tjg
%hook YTReelPlayerViewController %hook YTReelPlayerViewController
- (BOOL)shouldEnablePlayerBar { return YES; } - (BOOL)shouldAlwaysEnablePlayerBar { return YES; }
%end
%hook YTInlinePlayerBarContainerView
- (void)setUserInteractionEnabled:(BOOL)enabled { %orig(YES); }
%end %end
// Workaround for issue #54 // Workaround for issue #54