fixed missing scroll bar in Shorts (#343)
This commit is contained in:
+6
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user