Skip to content

Commit

Permalink
temporary fix for issue #54
Browse files Browse the repository at this point in the history
  • Loading branch information
qnblackcat committed May 23, 2022
1 parent f9e05fe commit fb0e507
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions uYouPlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,14 @@ BOOL ytMiniPlayer() {
}
%end

// Workaround for issue #54
%hook YTMainAppVideoPlayerOverlayViewController
- (void)updateRelatedVideos {
if ([[NSUserDefaults standardUserDefaults] boolForKey:@"relatedVideosAtTheEndOfYTVideos"] == NO) {}
else { return %orig; }
}
%end

// OLED dark mode by BandarHL
UIColor* oledColor = [UIColor colorWithRed:0.0 green:0.0 blue:0.0 alpha:1.0];

Expand Down

0 comments on commit fb0e507

Please sign in to comment.