Skip to content

Commit

Permalink
Updated “YouTube Premium Logo” Credits
Browse files Browse the repository at this point in the history
  • Loading branch information
arichornlover authored Apr 3, 2024
1 parent a23a03f commit 4a9a2e4
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions Sources/uYouPlus.xm
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down Expand Up @@ -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/
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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];
Expand All @@ -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"] ||
Expand Down Expand Up @@ -1192,7 +1192,7 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
%end
%end

// Hide Videos in Fullscreen - @arichorn
// Hide Videos in Fullscreen - @arichornlover
%group gNoVideosInFullscreen
%hook YTFullScreenEngagementOverlayView
- (void)setRelatedVideosView:(id)view {
Expand All @@ -1213,7 +1213,7 @@ static BOOL findCell(ASNodeController *nodeController, NSArray <NSString *> *ide
%end
%end

// iPhone Layout - @LillieH1000 & @arichorn
// iPhone Layout - @LillieH1000 & @arichornlover
%group giPhoneLayout
%hook UIDevice
- (long long)userInterfaceIdiom {
Expand Down

0 comments on commit 4a9a2e4

Please sign in to comment.