Change some other stuff

This commit is contained in:
arichornlover 2023-11-25 18:12:08 -06:00 committed by GitHub
parent 92d5eaa10f
commit a94ee4f855
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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