mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-04-05 17:00:33 +00:00
temporary fix for issue #54
This commit is contained in:
parent
f9e05fee77
commit
fb0e5073ae
1 changed files with 8 additions and 0 deletions
|
|
@ -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];
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue