clean up
This commit is contained in:
+3
-15
@@ -238,22 +238,10 @@ BOOL hidePaidPromotionCard(){
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
// Enable Shorts scroll bar - @level3tjg - https://reddit.com/r/jailbreak/comments/v29yvk/_/iasl1l0/
|
// Enable Shorts scroll bar - @level3tjg - https://reddit.com/r/jailbreak/comments/v29yvk/_/iasl1l0/
|
||||||
%hook YTReelPlayerViewControllerSub
|
|
||||||
- (BOOL)shouldEnablePlayerBar { return YES; }
|
|
||||||
%end
|
|
||||||
|
|
||||||
%hook YTReelPlayerViewController
|
%hook YTReelPlayerViewController
|
||||||
- (BOOL)shouldEnablePlayerBar { return YES; }
|
- (BOOL)shouldEnablePlayerBar { return YES; }
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Hide the download playlist button of uYou cuz it's broken ?!
|
|
||||||
// %hook YTPlaylistHeaderViewController
|
|
||||||
// - (void)viewDidLoad {
|
|
||||||
// %orig;
|
|
||||||
// self.downloadsButton.hidden = YES;
|
|
||||||
// }
|
|
||||||
// %end
|
|
||||||
|
|
||||||
// Workaround for issue #54
|
// Workaround for issue #54
|
||||||
%hook YTMainAppVideoPlayerOverlayViewController
|
%hook YTMainAppVideoPlayerOverlayViewController
|
||||||
- (void)updateRelatedVideos {
|
- (void)updateRelatedVideos {
|
||||||
@@ -282,7 +270,7 @@ BOOL hidePaidPromotionCard(){
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
//
|
// uYou's slide settings?
|
||||||
%hook FRPSliderCell
|
%hook FRPSliderCell
|
||||||
- (void)didMoveToWindow {
|
- (void)didMoveToWindow {
|
||||||
%orig;
|
%orig;
|
||||||
@@ -294,7 +282,7 @@ BOOL hidePaidPromotionCard(){
|
|||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
||||||
// Hide Paid Promotion Card
|
// YTNoPaidPromo: https://github.com/PoomSmart/YTNoPaidPromo
|
||||||
%hook YTMainAppVideoPlayerOverlayViewController
|
%hook YTMainAppVideoPlayerOverlayViewController
|
||||||
- (void)setPaidContentWithPlayerData:(id)data {
|
- (void)setPaidContentWithPlayerData:(id)data {
|
||||||
if (hidePaidPromotionCard()) {}
|
if (hidePaidPromotionCard()) {}
|
||||||
@@ -369,7 +357,7 @@ BOOL hidePaidPromotionCard(){
|
|||||||
%end
|
%end
|
||||||
|
|
||||||
# pragma mark - OLED dark mode by BandarHL
|
# pragma mark - OLED dark mode by BandarHL
|
||||||
UIColor* raisedColor = [UIColor colorWithRed:0.02 green:0.02 blue:0.02 alpha:1.0];
|
UIColor* raisedColor = [UIColor colorWithRed:0.035 green:0.035 blue:0.035 alpha:1.0];
|
||||||
%group gOLED
|
%group gOLED
|
||||||
%hook YTCommonColorPalette
|
%hook YTCommonColorPalette
|
||||||
- (UIColor *)brandBackgroundSolid {
|
- (UIColor *)brandBackgroundSolid {
|
||||||
|
|||||||
Reference in New Issue
Block a user