mirror of
https://github.com/arichornlover/uYouEnhanced.git
synced 2026-01-11 22:40:19 +00:00
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) {
|
||||
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
|
||||
|
|
|
|||
Loading…
Reference in a new issue