mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-03-11 17:15:32 +00:00
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
|
||||
|
||||
// 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
|
||||
%hook YTRightNavigationButtons
|
||||
- (void)layoutSubviews {
|
||||
|
|
|
|||
Loading…
Reference in a new issue