Change some other stuff
This commit is contained in:
parent
92d5eaa10f
commit
a94ee4f855
1 changed files with 11 additions and 11 deletions
22
uYouPlus.xm
22
uYouPlus.xm
|
|
@ -150,11 +150,11 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
||||||
if (self.pageStyle == 0) {
|
if (self.pageStyle == 0) {
|
||||||
UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)];
|
UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)];
|
||||||
customLogoView.image = [UIImage imageWithContentsOfFile:@"/Library/Application Support/uYouPlus.bundle/youtube_logo.png"];
|
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) {
|
} else if (self.pageStyle == 1) {
|
||||||
UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)];
|
UIImageView *customLogoView = [[UIImageView alloc] initWithFrame:CGRectMake(0, 0, 122, 48)];
|
||||||
customLogoView.image = [UIImage imageWithContentsOfFile:@"/Library/Application Support/uYouPlus.bundle/youtube_logo_dark.png"];
|
customLogoView.image = [UIImage imageWithContentsOfFile:@"/Library/Application Support/uYouPlus.bundle/youtube_logo_dark.png"];
|
||||||
[self.view addSubview:customLogoView];
|
[self.headerView addSubview:customLogoView];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
%end
|
%end
|
||||||
|
|
@ -185,6 +185,15 @@ static void repositionCreateTab(YTIGuideResponse *response) {
|
||||||
%end
|
%end
|
||||||
%end
|
%end
|
||||||
|
|
||||||
|
// Hide YouTube Logo - @dayanch96
|
||||||
|
%group gHideYouTubeLogo
|
||||||
|
%hook YTHeaderLogoController
|
||||||
|
- (YTHeaderLogoController *)init {
|
||||||
|
return NULL;
|
||||||
|
}
|
||||||
|
%end
|
||||||
|
%end
|
||||||
|
|
||||||
# pragma mark - Tweaks
|
# pragma mark - Tweaks
|
||||||
// IAmYouTube - https://github.com/PoomSmart/IAmYouTube/
|
// IAmYouTube - https://github.com/PoomSmart/IAmYouTube/
|
||||||
%hook YTVersionUtils
|
%hook YTVersionUtils
|
||||||
|
|
@ -673,15 +682,6 @@ int main(int argc, char * argv[]) {
|
||||||
%end
|
%end
|
||||||
%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/
|
// Hide YouTube Heatwaves in Video Player (YouTube v17.19.2-latest) - @level3tjg - https://www.reddit.com/r/jailbreak/comments/v29yvk/
|
||||||
%group gHideHeatwaves
|
%group gHideHeatwaves
|
||||||
%hook YTInlinePlayerBarContainerView
|
%hook YTInlinePlayerBarContainerView
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue