Merge pull request #533 from bhackel/fix/uYou-repeat-suggested-videos
Fix uYou repeat
This commit is contained in:
commit
98ddb2a738
1 changed files with 11 additions and 0 deletions
|
|
@ -532,6 +532,17 @@ BOOL isAd(YTIElementRenderer *self) {
|
||||||
%end
|
%end
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Fix uYou Repeat - @bhackel
|
||||||
|
// When uYou repeat is enabled, and Suggested Video Popup is disabled,
|
||||||
|
// the endscreen view with multiple suggestions is overlayed when it
|
||||||
|
// should not be.
|
||||||
|
%hook YTFullscreenEngagementOverlayController
|
||||||
|
- (BOOL)isEnabled {
|
||||||
|
// repeatVideo is the key for uYou Repeat
|
||||||
|
return IS_ENABLED(@"repeatVideo") ? NO : %orig;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
|
||||||
# pragma mark - Hide Notification Button && SponsorBlock Button && uYouPlus Button
|
# pragma mark - Hide Notification Button && SponsorBlock Button && uYouPlus Button
|
||||||
%hook YTRightNavigationButtons
|
%hook YTRightNavigationButtons
|
||||||
- (void)layoutSubviews {
|
- (void)layoutSubviews {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue