From a94ee4f855a08da3e246f0ec52aef47d9c3f0c88 Mon Sep 17 00:00:00 2001 From: arichornlover <78001398+arichorn@users.noreply.github.com> Date: Sat, 25 Nov 2023 18:12:08 -0600 Subject: [PATCH] Change some other stuff --- uYouPlus.xm | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/uYouPlus.xm b/uYouPlus.xm index 8c4a5ea..71f3049 100644 --- a/uYouPlus.xm +++ b/uYouPlus.xm @@ -150,11 +150,11 @@ static void repositionCreateTab(YTIGuideResponse *response) { if (self.pageStyle == 0) { UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)]; customLogoView.image = [UIImage imageWithContentsOfFile:@"/Library/Application Support/uYouPlus.bundle/youtube_logo.png"]; - [self.view addSubview:customLogoView]; + [self.headerView addSubview:customLogoView]; } else if (self.pageStyle == 1) { UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)]; customLogoView.image = [UIImage imageWithContentsOfFile:@"/Library/Application Support/uYouPlus.bundle/youtube_logo_dark.png"]; - [self.view addSubview:customLogoView]; + [self.headerView addSubview:customLogoView]; } } %end @@ -185,6 +185,15 @@ static void repositionCreateTab(YTIGuideResponse *response) { %end %end +// Hide YouTube Logo - @dayanch96 +%group gHideYouTubeLogo +%hook YTHeaderLogoController +- (YTHeaderLogoController *)init { + return NULL; +} +%end +%end + # pragma mark - Tweaks // IAmYouTube - https://github.com/PoomSmart/IAmYouTube/ %hook YTVersionUtils @@ -673,15 +682,6 @@ int main(int argc, char * argv[]) { %end %end -// Hide YouTube Logo -%group gHideYouTubeLogo -%hook YTHeaderLogoController -- (YTHeaderLogoController *)init { - return NULL; -} -%end -%end - // Hide YouTube Heatwaves in Video Player (YouTube v17.19.2-latest) - @level3tjg - https://www.reddit.com/r/jailbreak/comments/v29yvk/ %group gHideHeatwaves %hook YTInlinePlayerBarContainerView