diff --git a/Sources/uYouPlus.xm b/Sources/uYouPlus.xm index 73866eb..3df2f76 100644 --- a/Sources/uYouPlus.xm +++ b/Sources/uYouPlus.xm @@ -147,8 +147,7 @@ BOOL isAd(YTIElementRenderer *self) { %end %end -// YouTube Premium Logo - @arichornlover - this doesn't always function -// Modern implementation - @bhackel +// YouTube Premium Logo - @arichornlover & bhackel %group gPremiumYouTubeLogo %hook YTHeaderLogoController - (void)setTopbarLogoRenderer:(id)renderer { @@ -252,6 +251,7 @@ BOOL isAd(YTIElementRenderer *self) { %hook YTColdConfig - (BOOL)respectDeviceCaptionSetting { return NO; } // YouRememberCaption: https://poomsmart.github.io/repo/depictions/youremembercaption.html - (BOOL)isLandscapeEngagementPanelSwipeRightToDismissEnabled { return YES; } // Swipe right to dismiss the right panel in fullscreen mode +- (BOOL)enableModularPlayerBarController { return NO; } // fixes some of the iSponorBlock problems %end // NOYTPremium - https://github.com/PoomSmart/NoYTPremium/ @@ -691,7 +691,7 @@ BOOL isAd(YTIElementRenderer *self) { } %end -// Hide Fullscreen Button - @arichornlover +// Hide Fullscreen Button - @arichornlover - YouQuality is Incompatibile with this Option %hook YTInlinePlayerBarContainerView - (void)layoutSubviews { %orig; @@ -878,7 +878,7 @@ BOOL isAd(YTIElementRenderer *self) { } %end -// Red Subscribe Button - @arichorn +// Red Subscribe Button - @arichornlover %hook ELMContainerNode - (void)setBackgroundColor:(id)color { NSString *description = [self description]; @@ -887,7 +887,7 @@ BOOL isAd(YTIElementRenderer *self) { color = [UIColor redColor]; } } -// Hide the Button Containers under the Video Player - 17.x.x and up - @arichorn +// Hide the Button Containers under the Video Player - 17.x.x and up - @arichornlover if (IS_ENABLED(@"hideButtonContainers_enabled")) { if ([description containsString:@"id.video.like.button"] || [description containsString:@"id.video.dislike.button"] || @@ -1192,7 +1192,7 @@ static BOOL findCell(ASNodeController *nodeController, NSArray *ide %end %end -// Hide Videos in Fullscreen - @arichorn +// Hide Videos in Fullscreen - @arichornlover %group gNoVideosInFullscreen %hook YTFullScreenEngagementOverlayView - (void)setRelatedVideosView:(id)view { @@ -1213,7 +1213,7 @@ static BOOL findCell(ASNodeController *nodeController, NSArray *ide %end %end -// iPhone Layout - @LillieH1000 & @arichorn +// iPhone Layout - @LillieH1000 & @arichornlover %group giPhoneLayout %hook UIDevice - (long long)userInterfaceIdiom {